Answer the question
In order to leave comments, you need to log in
Why doesn't Cron Ubuntu work?
Trying to run a python script from Cron Ubuntu:
*/10 * * * * /usr/bin/python3 /home/test/test.py
The following is in the logs:
Jun 21 09:59:06 test CRON[8859]: (CRON) info (No MTA installed, discarding output)
Jun 21 10:00:01 test CRON[8971]: (root) CMD (/usr/bin/python3 /home/test/test.py)
But the file itself is not executed, what can be the reason?
Answer the question
In order to leave comments, you need to log in
CRON) info (No MTA installed, discarding output)
set the thread to MTA, the log of the script will come to the soap
Well, or just redirect the script output to a file
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question