Skip to content

Commit

Permalink
Fixes confusing wording in beat doc. Closes celery#1223
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Mar 6, 2013
1 parent d2efa3f commit bd3b907
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/userguide/periodic-tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,16 @@ Example: Run the `tasks.add` task every 30 seconds.
CELERY_TIMEZONE = 'UTC'
Using a :class:`~datetime.timedelta` for the schedule means the task will
be executed 30 seconds after `celery beat` starts, and then every 30 seconds
after the last run. A crontab like schedule also exists, see the section
on `Crontab schedules`_.
be sent in 30 second intervals (the first task will be sent 30 seconds
after `celery beat` starts, and then every 30 seconds
after the last run).

A crontab like schedule also exists, see the section on `Crontab schedules`_.

Like with ``cron``, the tasks may overlap if the first task does not complete
before the next. If that is a concern you should use a locking
strategy to ensure only one instance can run at a time (see for example
:ref:`cookbook-task-serial`).

.. _beat-entry-fields:

Expand Down

0 comments on commit bd3b907

Please sign in to comment.