bunkat / later

A javascript library for defining recurring schedules and calculating future (or past) occurrences for them. Includes support for using English phrases and Cron schedules. Works in Node and in the browser.
http://bunkat.github.io/later/
MIT License
2.42k stars 245 forks source link

Specifies an interval of occurrences of a time period in serializable schedule without using recur().every() parser #241

Open yasserbouchareb opened 3 years ago

yasserbouchareb commented 3 years ago

Hi, How could I specifie an interval of occurrences of a time period like the function every() in recur parser. example : const schedule = { h: 8, m:0 };

how set this schedule to fires every 2 days rather than every day without using the every() function in parser, just with serializable schedule ?

Thanks in advance