Schedules of type ONCE will now self destruct with negative repeats or just deactivated with positive repeats

This commit is contained in:
Ilan Steemers
2015-07-11 11:32:46 +02:00
parent fdfa938113
commit 6c9dd1a910
4 changed files with 41 additions and 5 deletions

View File

@@ -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