Complete Guide to Linux Crontab Syntax
Cron is the background job scheduler in Linux operating systems used to execute commands or scripts at fixed times.
The 5 Fields of Cron Syntax
| Position | Field | Allowed Values |
|---|---|---|
| 1 | Minute (0-59) | 0 - 59 |
| 2 | Hour (0-23) | 0 - 23 |
| 3 | Day of Month (1-31) | 1 - 31 |
| 4 | Month (1-12) | 1 - 12 (o JAN-DEC) |
| 5 | Day of Week (0-6) | 0 - 6 (0=Domingo o SUN-SAT) |