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

schedule task

Open Manchuker1120 opened this issue 1 year ago • 1 comments

Summary:

Include a brief description of the problem here, and fill out the version info below.

  • Celery Version: 5.3.6
  • Celery-Beat Version: 2.5.0

Exact steps to reproduce the issue:

  1. If the scheduled schedule is earlier than the current time and the task is changed to enabled, it will be executed immediately.

How to set it so that if the scheduled schedule is earlier than the current time, it will not be executed by default.

Manchuker1120 avatar Jan 05 '24 01:01 Manchuker1120

There is no way within the package to stop this happening currently, it appears by design. I outlined how we worked round this issue in #537. Hope that helps!

mark-at-kluster avatar Jan 11 '24 14:01 mark-at-kluster