LPI
201-400 · Question #216
What is wrong with the following system cron job entry (in /etc/crontab)? 17 run-parts /etc/cron.hourly
The correct answer is D. It's missing a user specification. See the full explanation below for the reasoning.
Question
What is wrong with the following system cron job entry (in /etc/crontab)? 17 * * * * run-parts /etc/cron.hourly
Options
- AThis command should run hourly but will run only at 5:00 p.m.
- BThere is no run-parts command in Linux.
- CThe time specification is incomplete.
- DIt's missing a user specification.
How the community answered
(45 responses)- A7% (3)
- B16% (7)
- C4% (2)
- D73% (33)
Community Discussion
No community discussion yet for this question.