Get back @periodic_task in Celery 5
Celery 5 removed the periodic_task decorator - use this article to create your custom decorator
The @periodic_task
decorator was deprecated in Celery 4 and completely removed in Celery version 5. If you (like me) used it heavily and are frustrated that you have to migrate to a different way of defining what times the periodic_task will run, here is what you can do to get back @periodic_task
decorator
Categories: celery