Interview Prep/Linux/Networking, SSH & Scheduling

Where can cron jobs be defined?

IntermediateConceptNetworking, SSH & Scheduling
Answer
  • User crontabs: crontab -e (stored in /var/spool/cron/), no user field.
  • /etc/crontab and /etc/cron.d/*: system files with an extra user field after the schedule.
  • /etc/cron.hourly|daily|weekly|monthly/: executable scripts run by run-parts (Debian ignores files with dots in the name).
  • /etc/cron.allow and /etc/cron.deny control who may use crontab.
All Linux questions Roadmap: Linux

More on Networking, SSH & Scheduling