Wiki

Clone wiki

scheduler-cron / Format support

Format support

Here is the list of formats which are supported in v1.0:

Simple intervals

  • * * * * * * - executes every minute

    e.g. 15:12, 15:13, 15:14...

  • m * * * * * - executes every hour in m minutes

    e.g. 16:04, 17:04, 18:04...

  • m h * * * * - executes every day in h hours and m minutes

    e.g. 05.09.16 23:45, 06.09.16 23:45, 07.09.16 23:45...

  • m h d * * * - executes every month in d day, h hours and m minutes

    e.g. 13.09.16 16:40, 13.10.16 16:40, 13.11.16 16:40...

  • m h d M * * - executes every year in M month, d day, h hours and m minutes

    e.g. 20.09.16 15:31, 20.09.17 15:31, 20.09.18 15:31...

  • m h d M * Y - executes in Y year, M month, d day, h hours and m minutes

    e.g. 31.10.17 09:18

  • m h * * w * - executes every week in w weekday, h hour and m minute

    e.g. 08.07.16 (Fri) 13:21, 15.07.16 (Fri) 13:21, 22.07.16 (Fri) 13:21

Intervals with simple split

  • * h * * * * - executes every day in h hours in which executes every minute

    e.g. 06.08.16 13:00, 06.08.16 13:01, ..., 06.08.16 13:59, 07.08.16 13:00, 07.08.16 13:01...

  • * * d * * * - executes every month in d day in which executes every minute

    e.g. 15.05.16 00:00, 15.05.16 00:01, ..., 15.05.16 23:59, 15.06.16 00:00, 15.06.16 00:01...

  • * * * * w * - executes every week in w weekday in which executes every minute

    e.g. 07.10.16 (Mon) 00:00, 07.10.16 (Mon) 00:01, ..., 07.10.16 (Mon) 23:59, 14.10.16 (Mon) 00:00, 14.10.16 (Mon) 00:01...

Intervals with one split

  • * h d * * * - executes every month in d day and h hours in which executes every minute

    e.g. 05.09.16 20:00, 05.09.16 20:01, ..., 05.09.16 20:59, 05.10.16 20:00, 05.10.16 20:01...

  • * * d M * * - executes every year in M month and d day in which executes every minute

    e.g. 10.10.16 00:00, 10.10.16 00:01, ..., 10.10.16 23:59, 10.10.17 00:00, 10.10.17 00:01...

  • * h d M * * - executes every year in M month, d day and h in which executes every minute

    e.g. 15.05.16 16:00, 15.05.16 16:01, ..., 15.05.16 16:59, 15.05.17 16:00, 15.05.17 16:01...

  • * * d M * Y - executes in Y year, M month, d day in which executes every minute

    e.g. 01.01.16 00:00, 01.01.16 00:01, ..., 01.01.16 23:59

  • m * d * * * - executes every month in d day in which executes every hour in m minute

    e.g. 16.02.16 00:13, 16.02.16 01:13, ..., 16.02.16 23:13, 16.03.16 00:13, 16.03.16 01:13...

  • m * d M * * - executes every year in M month, d day in which executes every hour in m minute

    e.g. 20.06.16 00:53, 20.06.16 01:53, ..., 20.06.16 23:53, 20.06.17 00:53, 20.06.17 01:53...

  • m * d M * Y - executes in Y year, M month and d in which executes every hour in m minute

    e.g. 12.12.16 00:23, 12.12.16 01:23, ..., 12.12.16 23:23

  • m h * M * * - executes every year in M month in which executes every day in h hour and m minute

    e.g. 01.08.16 15:41, 02.08.16 15:41, ..., 31.08.16 15:41, 01.08.17 15:41, 02.08.17 15:41...

  • m h * M * Y - executes in Y year and M month in which executes every day in h hour and m minute

    e.g. 01.04.16 21:05, 02.04.16 21:05, ..., 30.04.16 21:05

  • m h d * * Y - executes in Y year in which executes every month in d day, h hour and m minute

    e.g. 16.01.16 18:29, 16.02.16 18:29, ..., 16.12.16 18:29

  • * h * * w * - executes every week in w weekday and h hour in which executes every minute

    e.g. 04.05.16 (Wen) 13:00, 04.05.16 (Wen) 13:01, ..., 04.05.16 (Wen) 13:59, 11.05.16 (Wen) 13:00, 11.05.16 (Wen) 13:01...

  • m * * * w * - executes every week in w weekday in which executes every hour in m minute

    e.g. 29.09.16 (Thu) 00:15, 29.09.16 (Thu) 01:15, ..., 29.09.16 (Thu) 23:15, 06.10.16 (Thu) 00:15, 06.10.16 (Thi) 01.15...

Intervals with two splits

  • * h * M * * - executes every year in M month in which executes every day in h hour in which executes every minute

    e.g. 01.07.16 05:00, 01.07.16 05:01, ..., 01.07.16 05:59, 02.07.16 05:00, ..., 02.07.16 05:59, 03.07.16 05:00, ... ..., 31.07.16 05:59, 01.07.17 05:00, 01.07.17 05:01...

  • * h * * * Y - executes in Y year in which executes every day in h hour in which executes every minute

    e.g. 01.01.16 15:00, 01.01.16 15:01, ..., 01.01.16 15:59, 02.01.16 15:00, ..., 02.01.16 15:59, 03.01.16 15:00, ... ..., 31.12.16 15:59

  • * h * M * Y - executes in Y year and M month in which executes every day in h hour in which executes every minute

    e.g. 01.02.16 21:00, 01.02.16 21:01, ..., 01.02.16 21:59, 02.02.16 21:00, ..., 02.02.16 21:59, 03.02.16 21:00, ... ..., 29.02.16 21:59

  • * h d * * Y - executes in Y year in which executes every month in d day and h hour in which executes every minute

    e.g. 13.01.16 08:00, 13.01.16 08:01, ..., 13.01.16 08:59, 13.02.16 08:00, ..., 13.02.16 08:59, 13.03.16 08:00, ... ..., 13.12.16 08:59

  • m * d * * Y - executes in Y year in which executes every month in d day in which executes every hour in m minute

    e.g. 21.01.16 00:12, 21.01.16 01:12, ..., 21.01.16 23:12, 21.02.16 00:12, ..., 21.02.16 23:12, 21.03.16 00:12, ... ..., 21:12.16 23:12

One execution

  • m h d M * Y - executes in Y year, M month, d day, h hour and m minute

Unreal scenarios

They are supported by hope you will never use them

  • * * * M * * - executes every year in M month in which executes every minute

  • * * * * * Y - executes in Y year in which executes every minute

  • * * * M * Y - executes in Y year and M month in which executes every minute

Updated