# Edit user's crontabcrontab -e # Edit crontabcrontab -l # List cron jobscrontab -r # Remove all cron jobs# System cron directories/etc/cron.hourly//etc/cron.daily//etc/cron.weekly//etc/cron.monthly/
Crontab Format
* * * * * command_to_executeâ â â â ââ â â â ââ Day of week (0-7, Sunday=0/7)â â â ââââ Month (1-12)â â ââââââ Day of month (1-31)â ââââââââ Hour (0-23)ââââââââââ Minute (0-59)
Examples:
# Run every minute* * * * * /path/to/script.sh# Run at 2:30 AM daily30 2 * * * /path/to/script.sh# Run every Monday at 5 PM0 17 * * 1 /path/to/script.sh# Run every 10 minutes*/10 * * * * /path/to/script.sh