Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 1 Question 49 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 49
Topic #: 1
[All XK0-005 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: C

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.


Contribute your Thoughts:

Terry
27 days ago
Option C is the correct answer. The administrator should be able to enjoy their weekend now that the cron job is set up properly.
upvoted 0 times
Glory
4 days ago
Exactly, setting up the cron job properly is essential for automation.
upvoted 0 times
...
Sanjuana
5 days ago
Great, the administrator can now relax on the weekends without worrying about the task.
upvoted 0 times
...
Erasmo
16 days ago
Yes, that's correct. It will run on Saturday and Sunday at 9:00 a.m.
upvoted 0 times
...
Doretha
17 days ago
I think the correct option is C) 0 9 * * 6,0 root /root/script.sh
upvoted 0 times
...
...
Clorinda
1 months ago
Hmm, Option C is the way to go. Weekends at 9 AM, easy peasy. I wonder if the administrator has time to grab a cup of coffee before the script runs.
upvoted 0 times
...
German
1 months ago
I'm not sure about the syntax, but Option C seems to be the most straightforward solution for the given requirement.
upvoted 0 times
Meghann
21 days ago
Yes, Option C specifies running the task at 9:00 a.m. on Saturday and Sunday, which meets the requirement.
upvoted 0 times
...
Tonette
22 days ago
Option C is correct. It will run the task at 9:00 a.m. on Saturday and Sunday every week.
upvoted 0 times
...
Lai
24 days ago
Yes, Option C is the right choice. It covers running the task only on Saturday and Sunday at 9:00 a.m.
upvoted 0 times
...
Marge
27 days ago
Option C is correct. It specifies to run the task at 9:00 a.m. on Saturday and Sunday every week.
upvoted 0 times
...
...
Holley
2 months ago
But option C specifies Saturday and Sunday, which is correct for the task.
upvoted 0 times
...
Ozell
2 months ago
Option C looks good to me. Running the script on Saturday and Sunday at 9 AM seems to be exactly what the administrator needs.
upvoted 0 times
Tora
12 days ago
Yes, Option C is the correct choice for scheduling the task to run only on Saturday and Sunday at 9:00 a.m. every week.
upvoted 0 times
...
Solange
15 days ago
I agree, Option C with '0 9 * * 6,0' will schedule the task to run at 9 AM on Saturday and Sunday.
upvoted 0 times
...
Chantell
19 days ago
I think you're right. Option C specifies running the task on Saturday and Sunday, which is what the administrator wants.
upvoted 0 times
...
Mitsue
1 months ago
Option C looks good to me. Running the script on Saturday and Sunday at 9 AM seems to be exactly what the administrator needs.
upvoted 0 times
...
...
Luisa
2 months ago
I disagree, I believe the answer is A.
upvoted 0 times
...
Holley
2 months ago
I think the answer is C.
upvoted 0 times
...

Save Cancel