Преглед изворни кода
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
пре 4 година
No account linked to committer's email address
1 измењених фајлова са
15 додато и
0 уклоњено
-
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 |
|
|
|
------------------- |
|
|
|
|