Answer the question
In order to leave comments, you need to log in
How to properly debug and understand why the commands do not work?
Hello.
There is a problem when running job
1 19 * * * /opt/project1/start.sh
in cron.
Job fires BUT commands do not fire
source activate python36
python /opt/project1/Table_Control.py opt/project1/connection.yaml
#!/bin/bash
#clear
#echo "Good morning, world."
source activate python36
python /opt/project1/Table_Control.py opt/project1/connection.yaml
#!/bin/bash
#clear
#echo "Good morning, world."
source activate python36 > step1.txt
python /opt/project1/Table_Control.py opt/project1/connection.yaml > step2.txt
source activate python36
python /opt/projectl1/Table_Control.py opt/project1/connection.yam
Answer the question
In order to leave comments, you need to log in
source filename [arguments]
Read and execute commands from filename in the current shell
environment and return the exit status of the last command
executed from filename.
Do you need to run this command?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question