A Linux administrator is configuring crontab and needs to schedule a task to run only on Saturday and Sunday at 9:00 a.m. every week of the year. Which of the following should the administrator use?
Comprehensive and Detailed Step-by-Step
0 9 * * 6,0 ensures execution at 9:00 AM on Saturdays (6) and Sundays (0).
1-5 would run the script Monday-Friday.
*/3 is incorrect because it runs every three days.
1 * * runs only on the 1st day of each month.
Currently there are no comments in this discussion, be the first to comment!