Answer the question
In order to leave comments, you need to log in
How to run cron script in terminal in ubuntu?
Hello! You need to run the python script with cron. I figured out how to set the start time. The cron script starts, but the terminal does not open, where you can see the progress of its execution. It is necessary that the terminal opens on the crown and the command to run the python script is entered. Thanks in advance
Answer the question
In order to leave comments, you need to log in
What you want is decided by the logging setting. If you use systemd timers, then this functionality comes out of the box.
From the cron, the program is launched in the terminal, but not in yours, but in the background.
And that's okay, that's the way it should be.
If you want to keep track of progress, your script should write actions to a log file that you can view at your convenience.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question