MCPcopy
hub / github.com/node-cron/node-cron / getNextRuns

Method getNextRuns

src/tasks/scheduled-task.ts:147–147  ·  view source on GitHub ↗

The next `count` instants this task's expression matches, from now.

(count: number)

Source from the content-addressed store, hash-verified

145
146 /** The next `count` instants this task's expression matches, from now. */
147 getNextRuns(count: number): Date[];
148 /** Whether the given date matches this task's expression. */
149 match(date: Date): boolean;
150 /** Milliseconds until the next run, or `null` when the task is stopped. */

Implementers 2

InlineScheduledTasksrc/tasks/inline-scheduled-task.ts
BackgroundScheduledTasksrc/tasks/background-scheduled-task/ba

Calls

no outgoing calls

Tested by

no test coverage detected