I'm trying to run a task every 10 minutes, on the 5's, for example, at 13:15, 13:25, ....
However, it is not working.
This is only running once an hour, at the beginning of the hour, from 12 to 4pm.
sched.add_job(run_batch, 'cron', day_of_week='mon-fri', hour='12-16', minute='5,15,25,35,45,55', timezone='America/Chicago')
from How can I run task every 10 minutes on the 5s, using BlockingScheduler?
No comments:
Post a Comment