*/5 in crontab: cron every 5 minutes
*/5 in a crontab means every five minutes. The full line is */5 * * * * . It runs at minute 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour — locked to the clock, not to the minute you saved the file. Build the five fields in the cron expression generator . The page does not install the job. Copy the expression into the crontab on the machine that will run it. The minute list */5 *…
The notation */5 in a crontab instructs the system to execute a task every five minutes. The complete line for this schedule is */5 * * * * . This runs at minute 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour, adhering strictly to the clock and not the minute when the file was saved. To construct this in the cron expression generator, one must input the five fields: Minute, hour, day of month, month, and day of week.
The page discussing cron schedules does not automatically install the job. You must manually copy the expression into the crontab on the machine scheduled to run it. The sequence of minutes */5 * * * * corresponds to the minute set 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55.
Different schedules exist, such as */10 * * * * for every ten minutes, */15 * * * * for every fifteen minutes, */30 * * * * for every thirty minutes, and 5-59/5 * * * * which skips minute 0. For a straightforward every five minutes job, the */5 * * * * is recommended. The crontab format includes only five fields: Minute, hour, day of month, month, and day of week - there is no seconds field.
When scheduling a job, it's crucial to call the program with its full path as cron's PATH is often limited. For more information, refer to the guide at https://kepttools.com/guides/cron-every-5-minutes.
Rewritten by urgent.news; may contain errors — check the original.