Ver código fonte

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 anos atrás
pai
commit
06dfee8e30
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 15 adições e 0 exclusões
  1. +15
    -0
      README.rst

+ 15
- 0
README.rst Ver arquivo

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


Carregando…
Cancelar
Salvar