django-celery-beat icon indicating copy to clipboard operation
django-celery-beat copied to clipboard

Celery is not picking up the scheduled tasks under 5 min of interval.

Open SohanBOL opened this issue 3 years ago • 3 comments

Summary:

  • Celery Version: celery==4.4.6
  • Celery-Beat Version: django-celery-beat==2.0.0

Exact steps to reproduce the issue:

  1. Create a crontab scheduled to be executed within the next 5 min.
  2. Observed that task is not getting executed.

Command to start celery-beat: celery -A project beat -l debug -S django output:

Configuration -> . broker -> redis://localhost:6379/1 . loader -> celery.loaders.app.AppLoader . scheduler -> django_celery_beat.schedulers.DatabaseScheduler . logfile -> [stderr]@%DEBUG . maxinterval -> 5.00 seconds (5s)

SohanBOL avatar Mar 10 '21 17:03 SohanBOL

did you set start_time field? I have encountered the same issue , until i clean up the start_time, the beat start sending tasks. This behavior should be relate to timezone settings image

gcdsss avatar May 06 '21 11:05 gcdsss

@GuiHva No

SohanBOL avatar May 06 '21 15:05 SohanBOL

Possibly related? #413

inventionlabsSydney avatar Jun 22 '21 20:06 inventionlabsSydney