mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +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
|
convention of using ``*/5`` to have a job run every five minutes. In Salt, this
|
||||||
looks like:
|
looks like:
|
||||||
|
|
||||||
..code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
data > /tmp/crontest:
|
date > /tmp/crontest:
|
||||||
cron.present:
|
cron.present:
|
||||||
- user: root
|
- user: root
|
||||||
- minute: '*/5'
|
- minute: '*/5'
|
||||||
|
|
||||||
The job will now run every 5 minutes.
|
The job will now run every 5 minutes.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user