102-500 · Question #143
Which TWO statements about crontab are true?
The correct answer is A. Every user may have their own crontab. C. The cron daemon reloads crontab files automatically when necessary. A is correct because Linux crontab is per-user by design - each user runs crontab -e to manage their own schedule, and root can also manage system-wide jobs separately. C is correct because the cron daemon (e.g., crond) watches for crontab changes and reloads them automatically…
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
(34 responses)- A76% (26)
- B3% (1)
- D15% (5)
- E6% (2)
Explanation
A is correct because Linux crontab is per-user by design - each user runs crontab -e to manage their own schedule, and root can also manage system-wide jobs separately.
C is correct because the cron daemon (e.g., crond) watches for crontab changes and reloads them automatically - no manual restart is needed when you edit via crontab -e.
Why the distractors are wrong:
- B is the opposite of C - cron detects changes itself, no reload required.
- D is close but wrong:
@hourlyexpands to0 * * * *(top of each hour), but@dailyor other aliases differ - and more importantly, the question says "hourly" not@hourly, making it imprecise/false. - E is false - a single cron daemon handles all users' crontabs; one daemon per crontab would be wildly inefficient and is not how cron works.
Memory tip: Think of crontab like email - every user has their own mailbox (A), and the mail server (cron daemon) automatically picks up new messages without restarting (C). One mail server serves everyone (not E).
Topics
Community Discussion
No community discussion yet for this question.