You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crontab schedule delta incorrect when self.now() uses different timezone to last_run_at #4169
When a different timezone is given from self.now() - which could be provided to the schedule via the nowfun() argument to what last_run_at has, the delta is offset by the difference between the timezones. This means that the task never executes because it is perpetually offset by a number of hours.
You may come across this issue if you are using django_celery_beat which provides a nowfun() with the Django timezone.
Activity
thedrow commentedon Dec 13, 2017
Closing as #4173 fixed this issue.