Tivix / django-cron

Write cron business logic as a Python class and let this app do the rest! It enables Django projects to schedule cron tasks, tracks their success / failures, manages contention (via a cache) etc. Basically takes care of all the boring work for you :-)
www.tivix.com
MIT License
891 stars 189 forks source link

Issue with run_at_times #234

Open cristianviale opened 1 year ago

cristianviale commented 1 year ago

Hello. I would like to report an issue using "run_at_times".

The problem I encountered concerns the execution of the cron, which is supposed to run at 14:00 UTC, but it is saving 8:00 in the run_at_times column in the database... I believe there might be an issue in django_cron/core.py at line 159.

I'll try to solve it...

cristianviale commented 1 year ago

I think I have solved it simply by replacing ">=" with "==" at line 159