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.
Incorrect. /etc/cron.d contains administrator-managed system crontab files.
/var/spool/cron/Correct. It is the conventional per-user crontab spool area.
Correct. It is the conventional per-user crontab spool area.
/etc/anacrontabIncorrect. /etc/anacrontab configures anacron.
Incorrect. /etc/anacrontab configures anacron.
/etc/at.allowIncorrect. /etc/at.allow controls at access.
Incorrect. /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
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.