apscheduler cron job not scheduling on given time
apscheduler cron job not scheduling on given time
I am trying to setup APScheduler to run every 3 days at 7 pm. But job is getting scheduled after 2 days. Providing start_date
as 2018-06-29, if i check next_run_time of same job, its 01/07/2018 07:00:00 PM. I am using cron in following way:
start_date
job = scheduler.add_job(my_job, trigger='cron', day='*/3', timezone='Asia/Calcutta', hour='19', minute='00', start_date='2018-06-29')
job = scheduler.add_job(my_job, trigger='cron', day='*/3', timezone='Asia/Calcutta', hour='19', minute='00', start_date='2018-06-29')
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Comments
Post a Comment