XK0-005 · Question #244
A systems administrator needs to run the yum update command two hours after employees log off and leave for the day on Friday. Which of the following is the BEST command to complete the task, if the…
The correct answer is C. at. at is the correct tool for scheduling a one-time task at a specific future time. For example: echo 'yum update' | at 8pm Friday. cron is designed for recurring scheduled tasks, not one-off jobs. nohup prevents a running process from being killed when the user logs out, but does…
Question
A systems administrator needs to run the yum update command two hours after employees log off and leave for the day on Friday. Which of the following is the BEST command to complete the task, if the task only needs to be run once?
Options
- Ascreen
- Bcron
- Cat
- Dnohup
How the community answered
(51 responses)- A4% (2)
- B2% (1)
- C92% (47)
- D2% (1)
Explanation
at is the correct tool for scheduling a one-time task at a specific future time. For example: echo 'yum update' | at 8pm Friday. cron is designed for recurring scheduled tasks, not one-off jobs. nohup prevents a running process from being killed when the user logs out, but does not schedule future execution. screen is a terminal multiplexer for managing terminal sessions - it does not schedule tasks.
Topics
Community Discussion
No community discussion yet for this question.