Blitz Docs

Rushing | Cron Format

The Cron format is a simple and flexible way to define time and frequency of various actions.

Traditional cron format consists of five fields separated by white spaces. The extended version with a sicth field for year is not supported.

<Minute> <Hour> <Day_of_the_Month> <Month_of_the_Year> <Day_of_the_Week>

The following example shows the fields and possible values. Any of these 5 fields may be an asterisk (*). This would mean the entire range of possible values, i.e. each minute, each hour, etc.:

* * * * *

Day of the Week (range: 1-7, 1 standing for Monday)
Month of the Year (range: 1-12)
Day of the Month (range: 1-31)
Hour (range: 0-23)
Minute (range: 0-59)

Any field may contain a list of values separated by commas, (e.g. 1,3,7) or a range of values (two integers separated by a hyphen, e.g. 1-5).

After an asterisk (*) or a range of values, you can use character / to specify that values are repeated with a certain interval between them. For example, you can write "0-23/2" in Hour field to specify that some action should be performed every two hours (it will have the same effect as "0,2,4,6,8,10,12,14,16,18,20,22"); value "*/4" in Minute field means that the action should be performed every 4 minutes, "1-30/3" means the same as "1,4,7,10,13,16,19,22,25,28".

In Month and Day of Week fields, you can also use names of months or days of weeks abbreviated to first three letters ("Jan,Feb,...,Dec" or "Mon,Tue,...,Sun").


30 9 1 5 *
at 9:30 on May 1st, whatever the day of the week it is

30 9 1 May *
Same as above (different notation)
0 12 * * 1-5
at 12:00 from monday to friday in every month

* * * 1,2,3 *
every minute of every hour every day of January,February and March

* 0-10 * *
every minute before 11 in every month

0 0 1 */2
at midnight on the first day of every 2nd month
Try our Starter plan free for 14 days!
Start my Trial