I have a celery beat schedule:
CELERY_BEAT_SCHEDULE = {
"test-task": {
"task": "myapp.tasks.test_task",
"schedule": crontab(hour=20), # Should execute at 8pm UTC!
}
}
And when I execute the beat instance, with
celery --app myapp beat --loglevel DEBUG
The celery beat instance automatically sends the task to the broker:
[2021-05-03 14:12:04,022: INFO/MainProcess] Scheduler: Sending due task test-task (myapp.tasks.test_task)
Is there a way to prevent it? The task should only be executed at 8pm and never before that time.