CompTIA
XK0-004 · Question #125
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named "freespace". Which of…
The correct answer is B. 15 13 * * 5 df > /freespace. At 13:15 on Friday.” at 2022-09-30 13:15:00
Scripting, Containers and Automation
Question
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named "freespace". Which of the following would meet this requirement?
Options
- A13 15 * * 5 df > /freespace
- B15 13 * * 5 df > /freespace
- C15 1 * * 6 df > /freespace
- D15 13 6 * * df > /freespace
How the community answered
(21 responses)- A5% (1)
- B76% (16)
- C5% (1)
- D14% (3)
Explanation
At 13:15 on Friday.” at 2022-09-30 13:15:00
Topics
#cron#crontab syntax#disk space#df command
Community Discussion
No community discussion yet for this question.