Add a note about Celery schedule objects

This commit is contained in:
Radoslav Georgiev 2021-09-16 14:13:39 +03:00 committed by GitHub
parent ce3195cf38
commit c63b60ff7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1501,6 +1501,7 @@ Few key things:
* We use this task as part of a deploy procedure. * We use this task as part of a deploy procedure.
* We always put a link to [`crontab.guru`](https://crontab.guru) to explain the cron. Otherwise it's unreadable. * We always put a link to [`crontab.guru`](https://crontab.guru) to explain the cron. Otherwise it's unreadable.
* Everything is in one place. * Everything is in one place.
* ⚠️ We use, almost exclusively, a cron schedule. **If you plan on using the other schedule objects, provided by Celery, please read thru their documentation** & the important notes - <https://django-celery-beat.readthedocs.io/en/latest/#example-creating-interval-based-periodic-task> - about pointing to the same schedule object. ⚠️
### Configuration ### Configuration