LX0-104 · Question #256
Which of the following statements about crontab are true? (Select TWO).
The correct answer is A. Every user may have their own crontab. C. The cron daemon reloads crontab files automatically when necessary.. Each user on a Linux system can maintain their own crontab file, and the cron daemon periodically checks for and reloads these files automatically without requiring a restart.
Question
Options
- AEvery user may have their own crontab.
- BChanging a crontab requires a reload/restart of the cron daemon.
- CThe cron daemon reloads crontab files automatically when necessary.
- Dhourly is the same as "0 * * * *".
- EA cron daemon must run for each existing crontab.
How the community answered
(38 responses)- A95% (36)
- B3% (1)
- D3% (1)
Why each option
Each user on a Linux system can maintain their own crontab file, and the cron daemon periodically checks for and reloads these files automatically without requiring a restart.
Linux systems allow individual users to schedule their own jobs via `crontab -e`, creating a per-user crontab file.
The cron daemon automatically reloads crontab files upon changes, so a manual reload or restart is not required.
The cron daemon is designed to automatically detect changes in crontab files and reload them, eliminating the need for manual restarts.
`0 * * * *` means "at minute 0 past every hour," which is a specific time, while `hourly` implies execution at a certain interval but is not a direct crontab syntax keyword for user crontabs.
A single cron daemon process manages all user and system crontab files, not one daemon per crontab.
Concept tested: crontab user management and daemon behavior
Source: https://www.man7.org/linux/man-pages/man5/crontab.5.html
Topics
Community Discussion
No community discussion yet for this question.