Unix / Linux crontab file stored


  1. Linux and Unix-like operating system may change the default from /var/spool/cron/ to something else. Use the following as a guideline for your OS (assuming that user name is tutorialspots):
  2. Mac OS X – /usr/lib/cron/tabs/ (user cron location /usr/lib/cron/tabs/tutorialspots)
  3. FreeBSD/OpenBSD/NetBSD – /var/cron/tabs/ (user cron location/var/cron/tabs/tutorialspots)
  4. CentOS/Red Hat/RHEL/Fedora/Scientific Linux – /var/spool/cron/ (user cron location/var/spool/cron/tutorialspots)
  5. Debian / Ubuntu Linux – /var/spool/cron/crontabs/ (user cron location/var/spool/cron/crontabs/tutorialspots)
  6. HP-UX Unix – /var/spool/cron/crontabs/ (user cron location/var/spool/cron/crontabs/tutorialspots)
  7. IBM AIX Unix – /var/spool/cron/ (user cron location /var/spool/cron/tutorialspots)

Example for CentOS

1 Comment

Leave a Reply