- 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):
- Mac OS X – /usr/lib/cron/tabs/ (user cron location /usr/lib/cron/tabs/tutorialspots)
- FreeBSD/OpenBSD/NetBSD – /var/cron/tabs/ (user cron location/var/cron/tabs/tutorialspots)
- CentOS/Red Hat/RHEL/Fedora/Scientific Linux – /var/spool/cron/ (user cron location/var/spool/cron/tutorialspots)
- Debian / Ubuntu Linux – /var/spool/cron/crontabs/ (user cron location/var/spool/cron/crontabs/tutorialspots)
- HP-UX Unix – /var/spool/cron/crontabs/ (user cron location/var/spool/cron/crontabs/tutorialspots)
- IBM AIX Unix – /var/spool/cron/ (user cron location /var/spool/cron/tutorialspots)
Example for CentOS
1 Comment
Disable the email alert by cronjobs | Free Online Tutorials
(March 9, 2014 - 9:53 am)[…] First, you need know Unix / Linux crontab file stored […]