nerdexam
Linux_Foundation

LFCS · Question #71

Where are user specific crontabs stored?

The correct answer is B. As individual per-user files within /var/spool/cron. User-specific crontabs are stored as individual files in the /var/spool/cron directory, separate from the system-wide crontab.

Submitted by ravi_2018· Apr 18, 2026Operation of Running Systems

Question

Where are user specific crontabs stored?

Options

  • AIn the database file /etc/crontab.db which is shared by all users.
  • BAs individual per-user files within /var/spool/cron.
  • CAs individual per-user files in /etc/cron.user.d.
  • DIn the .crontab file in the user's home directory.
  • EIn the file /var/cron/user-crontab which is shared by all users.

How the community answered

(57 responses)
  • A
    5% (3)
  • B
    89% (51)
  • D
    2% (1)
  • E
    4% (2)

Why each option

User-specific crontabs are stored as individual files in the /var/spool/cron directory, separate from the system-wide crontab.

AIn the database file /etc/crontab.db which is shared by all users.

Crontabs are typically text files, not database files, and /etc/crontab is for system-wide jobs, not user-specific ones.

BAs individual per-user files within /var/spool/cron.Correct

Each user's crontab entries are stored in a file named after their username within the /var/spool/cron directory, which is a standard location for spool files.

CAs individual per-user files in /etc/cron.user.d.

/etc/cron.user.d is not a standard directory for storing user crontabs; /var/spool/cron is the correct location.

DIn the .crontab file in the user's home directory.

While a user might create a .crontab file, the system's `crontab` command loads it into /var/spool/cron, and it's not directly executed from the home directory.

EIn the file /var/cron/user-crontab which is shared by all users.

/var/cron/user-crontab is not a standard or correct path for storing user-specific crontabs; they are individual files in /var/spool/cron.

Concept tested: User crontab file location

Source: https://man7.org/linux/man-pages/man5/crontab.5.html

Topics

#cron#crontab storage#job scheduling#file paths

Community Discussion

No community discussion yet for this question.

Full LFCS Practice