Celery Beat Schedule Generator

Generate perfect Celery Beat periodic tasks — no more copy-paste errors!



      

About the Celery Beat Schedule Generator

This tool writes a CELERY_BEAT_SCHEDULE dictionary entry for one periodic task. You give it the dotted path of the task, pick a schedule type, and fill in positional arguments, keyword arguments and a timezone label. The entry key is taken from the last part of the task path.

Example

Input: Task app.tasks.send_daily_report, crontab minute 0, hour 9, everything else *.

Output (excerpt):

"send_daily_report": {
    "task": "app.tasks.send_daily_report",
    "schedule": crontab(minute='0', hour='9', day_of_month='*', month_of_year='*', day_of_week='*'),
    "args": [],
    "kwargs": {"dry_run": false},
    ...

Limits

  • The crontab option is the most useful one. Paste the result into your Celery config and add from celery.schedules import crontab yourself.
  • The Args and Kwargs boxes are copied as written. JSON false and null are not converted to Python False and None, so change them by hand.
  • The interval option prints interval(every=..., period=...). That is not a Celery function. In plain Celery, use a number of seconds or a timedelta instead.
  • The solar option has no input fields yet and produces an empty schedule.
  • The timezone is placed under options. Celery normally reads the timezone from the app setting timezone, so check that setting too.

Privacy

All conversion happens in JavaScript inside your browser. The tool code on this page makes no network request with what you type, so your input is not uploaded or stored by PyInns. (The page itself still loads ads and shared libraries from third-party CDNs.)