Parses a string into a CronList.
CronList
parseStringListSeconds("13,10"); // [13, 10]parseStringListSeconds("13-10,10"); // [{ from: 13, to: 10 }, 10]parseStringListSeconds("13/10,10"); // [{ every: 10, start: 13 }, 10]parseStringListSeconds("13-10/10,10"); // [{ every: 10, start: { from: 13, to: 10 } }, 10]parseStringListSeconds("?/10,10"); // [{ every: 10, start: "?" }, 10]parseStringListSeconds("13,INVALID"); // undefinedparseStringListSeconds("INVALID"); // undefined
Curried function with limit in context.
limit
LimitTuple to be used when parsing CronSteps.
LimitTuple
CronSteps
Parses a string into a
CronList
.Example
Returns
Curried function with
limit
in context.