Creating a simple cron job – format: A B C D E /path/file, where:
| Variable | Type | Possible Values | Sample Values |
| A | Minute | 0-59 | 30 = every 30 minutes |
| B | Hour | 0-23 | 0 = 12 AM |
| C | Dat of Month | 1-31 | 15 = 15th day of a month |
| D | Month of Year | 1-12 | 4 = April |
| E | Day of Week | 0-6 | 0 = Sunday |
To place scripts as scheduled tasks, edit the /etc/crontab file:
vim /etc/crontab
This Cron entry runs the script /path/to/file.sh as root every 0,5,10,15,20,25,30,35,40,45,50,55 minute of every hour, day, month, and day of week:
#EVERY 5 MINUTES - RUN THIS BASH SCRIPT
0,5,10,15,20,25,30,35,40,45,50,55 * * * * root /path/to/file.sh