mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
commit
b531916cc4
@ -39,12 +39,12 @@ Salt also supports running a cron every ``x minutes`` very similarily to the Uni
|
||||
convention of using ``*/5`` to have a job run every five minutes. In Salt, this
|
||||
looks like:
|
||||
|
||||
..code-block:: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
data > /tmp/crontest:
|
||||
cron.present:
|
||||
- user: root
|
||||
- minute: '*/5'
|
||||
date > /tmp/crontest:
|
||||
cron.present:
|
||||
- user: root
|
||||
- minute: '*/5'
|
||||
|
||||
The job will now run every 5 minutes.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user