Parcourir la source
Update README.rst
Added the opportunity to set a job with a special keyword like '@reboot' or '@hourly'. Quotes must be used, otherwise PyYAML will strip the '@' sign.
pull/213/head
preussal
il y a 4 ans
Parent
révision
06dfee8e30
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec
15 ajouts et
0 suppressions
-
README.rst
|
|
@@ -327,6 +327,21 @@ identifier same as command resulting in not being able to change it): |
|
|
|
hour: 2 |
|
|
|
minute: 0 |
|
|
|
|
|
|
|
Added the opportunity to set a job with a special keyword like '@reboot' or '@hourly'. Quotes must be used, otherwise PyYAML will strip the '@' sign. |
|
|
|
.. code-block:: yaml |
|
|
|
|
|
|
|
linux: |
|
|
|
system: |
|
|
|
... |
|
|
|
job: |
|
|
|
cmd1: |
|
|
|
command: '/cmd/to/run' |
|
|
|
identifier: cmd1 |
|
|
|
enabled: true |
|
|
|
user: 'root' |
|
|
|
special: '@reboot' |
|
|
|
|
|
|
|
|
|
|
|
Managing 'at' tasks |
|
|
|
------------------- |
|
|
|
|