The correct crontab entry to execute the script chklog once per hour between 3 p.m. and 5 p.m. on Monday and Thursday each week is:
A.
0 3,4,5 * * 2,5 chklog
B.
0 3,4,5 * * 1,4 chklog
C.
0 15,16,17 * * 1,4 chklog
D.
0 15,16,17 1,4 * * chklog
E.
* 15,16,17 * * 1,4 chklog
Explanation/Reference:
also correct would be 0 15-17 * * 1,4 chklogA) would run chklog at 3AM,4AM and 5AM on Tuesdays and Fridays
B) same as A, but Monday, Thursday
D) would run chklog at 3PM, 4PM, 5PM, on the 1st and 4th of each month
E) same as C, but would run chklog once every minute
Correct Answer: C