mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-15 13:37:56 +08:00
Schedules of type ONCE will now self destruct with negative repeats or just deactivated with positive repeats
This commit is contained in:
@@ -116,7 +116,9 @@ Reference
|
||||
|
||||
.. py:attribute:: ONCE
|
||||
|
||||
`'O'` the schedule will only run once. Repeats are ignored and set to `0` after execution.
|
||||
`'O'` the schedule will only run once.
|
||||
If it has a negative :attr:`repeats` it will be deleted after it has run.
|
||||
If you want to keep the result, set :attr:`repeats` to a positive number.
|
||||
|
||||
.. py:attribute:: HOURLY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user