Actually I am scheduling a period of time but I can't set the start date and the end date, this is my setting:
var recurrencySchedule = parser.recur().on(recurrency.hour).time().on([2,3,4,5]).dayOfWeek();
I tried configuring between but does not work:
var startDate = '11/15/2016';
var untilDate = '11/27/2016';
var recurrencySchedule = parser.recur().on(recurrency.hour).time().on([2,3,4,5]).dayOfWeek().between(startDate, untilDate);
Reviewing the documentation I understand that 'between' needs 'every' for be used, some idea for scheduling with end date.