Locate the spool area where per-user crontabs are managed.
Which path is appropriate?
/var/spool/cron/ is used for per-user crontab storage on many Linux systems. Edit through crontab rather than modifying spool files directly.
Detailed explanation
/etc/cron.d/Incorrect. /etc/cron.d contains administrator-managed system crontab files.
/var/spool/cron/Correct. It is the conventional per-user crontab spool area.
/etc/anacrontabIncorrect. /etc/anacrontab configures anacron.
/etc/at.allowIncorrect. /etc/at.allow controls at access.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s
' /var/spool/cron/Expected result
/var/spool/cron/Key points
- Per-user cron spool
- Avoid direct edits
- cron.d has a different format
Notes
- Environment: printf / ファイルシステム変更なし
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Cron
A scheduler for recurring jobs described by a time-field table.
at
A scheduler for one-time jobs queued for a specified time.
Anacron
A scheduler that can run periodic jobs after a system was unavailable.