Cron Syntax

# โ”Œโ”€โ”€โ”€โ”€โ”€ minute (0-59)
# โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€ hour (0-23)
# โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€ day of month (1-31)
# โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€ month (1-12)
# โ”‚ โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€ day of week (0-6)
# * * * * * command

Examples

crontab -e
# Every day at 3am
0 3 * * * /scripts/backup.sh
# Every 5 minutes
*/5 * * * * /scripts/health.sh
# Monday at 9am
0 9 * * 1 /scripts/report.sh