nextRun
nextRun(
schedule,from):Date
Defined in: packages/format-cron/src/codec.ts:132
Finds the next minute (strictly after from, read/returned in local time)
that matches schedule.
Parameters
Section titled “Parameters”schedule
Section titled “schedule”Date
Returns
Section titled “Returns”Date
Throws
Section titled “Throws”If no match is found within
MAX_NEXT_RUN_SEARCH_MINUTES (e.g. 31 for a dayOfMonth in February
only).