Answer the question
In order to leave comments, you need to log in
How to limit the work of Cron'a to a period of time?
Hello.
The task is to run a python script on a schedule - every 15 minutes from 8:00 to 20:00.
Did it like this:
*/15 8-20 * * * /usr/bin/python3 /home/donik/python/sweeper.py >> /home/donik/python/sweeper_cron.log 2>&1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question