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

Method runsLeft

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

Remaining executions when `maxExecutions` is set, otherwise `undefined`.

()

Source from the content-addressed store, hash-verified

153 isBusy(): boolean;
154 /** Remaining executions when `maxExecutions` is set, otherwise `undefined`. */
155 runsLeft(): number | undefined;
156 /** The original cron expression. */
157 getPattern(): string;
158 /**

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected