Przeglądaj źródła
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 lat temu
Brak konta powiązanego z adresem e-mail autora
1 zmienionych plików z
15 dodań i
0 usunięć
-
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 |
|
|
|
------------------- |
|
|
|
|