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 root tar cvf /dev/st0 /etc



Leave a Reply 6

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


Fernando

Fernando

A – is invalid , cause does not exists DayOfWeek “8”
D – is correct supposed the graphicals-generations is a program/script

Alukardd

Alukardd

Dear Admin, Fernando is right. Please correct answer.

admin

admin

Thanks Fernando.
Fixed.

Alukardd

Alukardd

Are you edit answers?
/etc/crontab is a system-wide crontab. In its syntax must exist username. But in “E” answer there is no username. By this reason a can see only two correct answers — C and D. But Q require THREE answer… I’m confused…

admin

admin

Hi Alukardd,
It missed an username in option E. I fixed it.
Thanks so much.