mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-01 16:55:40 +02:00
crontab: clarify and simplify job examples. (#2938)
This commit is contained in:
parent
07fe98693d
commit
d0677b83d2
1 changed files with 5 additions and 5 deletions
|
@ -15,14 +15,14 @@
|
||||||
|
|
||||||
`crontab -r`
|
`crontab -r`
|
||||||
|
|
||||||
- Sample job which runs at 10:00 every day. * means any value:
|
- Sample job which runs at 10:00 every day (* means any value):
|
||||||
|
|
||||||
`0 10 * * * {{path/to/script.sh}}`
|
`0 10 * * * {{command_to_execute}}`
|
||||||
|
|
||||||
- Sample job which runs every minute on the 3rd of April:
|
- Sample job which runs every minute on the 3rd of April:
|
||||||
|
|
||||||
`* * 3 Apr * {{path/to/script.sh}}`
|
`* * 3 Apr * {{command_to_execute}}`
|
||||||
|
|
||||||
- Sample job which runs at 02:30 every Friday:
|
- Sample job which runs a certain script at 02:30 every Friday:
|
||||||
|
|
||||||
`30 2 * * Fri {{path/to/script.sh}}`
|
`30 2 * * Fri {{/absolute/path/to/script.sh}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue