File: crontab

package info (click to toggle)
systemd-cron 2.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 656 kB
  • sloc: cpp: 2,276; sh: 933; makefile: 228; ansic: 133
file content (26 lines) | stat: -rw-r--r-- 954 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# this is a corpus of crontabs that tries
# to test all most code paths


#dow 0-6 0=Vasárnap 1=Hétfő 2=Kedd 3=Szerda 4=Csütörtök 5=Péntek 6=Szombat
1 2 3 4 5 henry echo 0=Vasárnap 1=Hétfő 2=Kedd 3=Szerda 4=Csütörtök 5=Péntek 6=Szombat

START_HOURS_RANGE=3-22

# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |

# *  *  *  *  * user-name command to be executed
21 5 * * *   root    test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond
*/5 * * * * root true
00  0 * * 1-5 eroot echo Monday to Friday, double space, leading zero
00  0 * * 0-3 root echo test US mode
0 0 * * 4-7 root echo test EU mode
@daily root ls
PERSISTENT=true
~ ~ ~ ~ ~ root echo ~