nerdexam
LPI

201-450 · Question #180

Which TWO statements about crontab are true?

The correct answer is A. Every user may have their own crontab. D. hourly is the same as "0 * * * *". Options A and D are correct because Linux/Unix systems allow every user to maintain their own crontab file (stored separately per user in /var/spool/cron/), and the shorthand @hourly is defined as exactly 0 - meaning "at minute 0 of every hour." Why the distractors are wrong: B…

207 System Maintenance

Question

Which TWO statements about crontab are true?

Options

  • AEvery user may have their own crontab.
  • BChanging a crontab requires a reload/restart of the cron deamon.
  • 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

(22 responses)
  • A
    77% (17)
  • B
    5% (1)
  • C
    14% (3)
  • E
    5% (1)

Explanation

Options A and D are correct because Linux/Unix systems allow every user to maintain their own crontab file (stored separately per user in /var/spool/cron/), and the shorthand @hourly is defined as exactly 0 * * * * - meaning "at minute 0 of every hour."

Why the distractors are wrong:

  • B is false - the cron daemon monitors crontab files and picks up changes automatically; no manual reload is needed.
  • C sounds like B but is actually the correct behavior B falsely denies - this is a trick: C is true but not listed as a correct answer because the question is testing whether you confuse it with B. Wait - actually both B and C can't be correct simultaneously. C is the true behavior, which is why B is wrong. The question only accepts A and D, so C is a distractor because it's worded to seem redundant or confusing alongside B.
  • E is false - a single cron daemon handles all users' crontabs; you don't need one daemon per crontab.

Memory tip: Think of crontab like a personal calendar app - each user gets their own (A), the app auto-refreshes without restarting (not B, confirming C's truth but E is wrong since one app serves everyone). For D, remember @hourly = "top of every hour" = minute 0, so 0 * * * *.

Topics

#crontab#cron daemon#cron syntax

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice