Step values can be used in conjunction with ranges. Following the range with " <number> " indicates passing the value of the number through the range. For example, “ 0-23/2 ” can be used in the hours field to indicate the execution of each other hour (alternative in the V7 standard is “ 0,2,4,6,8,10,12,14,16,18,20,22 "). Steps are also resolved after an asterisk, so if you want to say "every two hours," just use " */2 ".
The "range" referenced here is the range given before / , which is the subrange of the range of times for a particular field. The first field indicates minutes for an hour, therefore */... indicates a range from 0 to 59. The first field */55 indicates all minutes (within a range of 0-55) that are a multiple of 55 - that is, 0 and 55 minutes after every hour.
Similarly, 0-23/2 or */2 in the second (hourly) field indicates all hours (within the range 0-23) that are a multiple of 2.
If you specify the beginning of a range other than 0 , the number (say N ) after / indicates every minute Nth minute / hour / etc. at the bottom of the range. For example, 3-23/7 in the second field means every 7th hour starting at 03:00 (03:00, 10:00, 17:00).
This works best when the gap you want is evenly distributed over the next higher unit of time. For example, you can easily specify an event that should occur every 1, 2, 3, 4, 5, 6, 10, 12, 15, 20 or 30 minutes, or every 1, 2, 3, 4, 6 or 12 hours. ( Thanks to the Babylonians for choosing time units with so many nice divisors.)
Unfortunately, cron has no concept of "every 55 minutes" for a time exceeding an hour.
If you want to run the task every 55 minutes (for example, at 00:00, 00:55, 01:50, 02:45, etc.), you will have to do it indirectly. One approach is to schedule the script to run every 5 minutes; The script then checks the current time and executes its work only once every 11 times when it called.
Or you can use several lines in your crontab file to start the same work at 00:00, 00:55, 01:50, etc. - except that the day is not a multiple of 55 minutes. If you do not mind to have a longer or shorter interval once a day, week or month, you can write a program to create a large crontab with as many entries as you need, everyone works with the same command at the specified time.