瀏覽代碼

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 年之前
父節點
當前提交
06dfee8e30
No account linked to committer's email address
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. +15
    -0
      README.rst

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


Loading…
取消
儲存