Which THREE lines below are valid entries in /etc/crontab and will work properly?

Which THREE lines below are valid entries in /etc/crontab and will work properly?

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



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Fernando

Fernando

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

tsrreven

tsrreven

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

admin

admin

Thank Fernando & tsrreven.

seenagape

seenagape

I choose