We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa57583 commit 94f8621Copy full SHA for 94f8621
crontab
@@ -1,6 +1,15 @@
1
+---
2
+tags: [ job, scheduler, periodic ]
3
4
# set a shell
5
SHELL=/bin/bash
6
7
+# set a PATH
8
+PATH=/usr/bin:/usr/sbin:/usr/local/bin
9
+
10
+# incorrect way of seeting PATH
11
+PATH=$PATH:/do/not/do/this
12
13
# crontab format
14
* * * * * command_to_execute
15
- - - - -
@@ -20,3 +29,9 @@ SHELL=/bin/bash
20
29
21
30
# every Saturday at 8:05 AM
22
31
5 8 * * 6 /home/user/command.sh
32
33
+# compute your crontab periodicity format online
34
+https://crontab.guru/
35
36
+# be careful with % sign (percent), it has special meaning, see https://crontab.guru/ for explanation
37
+% signs must be escaped such as \%
0 commit comments