Which THREE lines below are valid entries in /etc/crontab and will work properly?
A.
0 23 * * 8 root tar cvf /dev/st0 /etc
B.
0 10 6 22 * /usr/local/bin/fs-report.sh
C.
0 17 * * 1 jdoe accouting-generation
D.
20 6 1 * * root graphicals-generations
E.
0 10 * * 2-6 tar cvf /dev/st0 /etc
A – is invalid, cause does not exists DayOfWeek “8″
B – is invalid, cause does not exist Month “22”
D – is correct supposed the graphicals-generations is a program/script
C,D,E are correct
Fernando is right the correct answer are C,D,E.
* * * * * TheCommand
– – – – –
| | | | |
| | | | +—– day of week (0 – 6) (Sunday=0)
| | | +——- month (1 – 12)
| | +——— day of month (1 – 31)
| +———– hour (0 – 23)
+————- min (0 – 59)
http://www.adminschoice.com/crontab-quick-reference
Thank Fernando & tsrreven.
I choose