MCPcopy Index your code
hub / github.com/node-cron/node-cron / getPattern

Method getPattern

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

The original cron expression.

()

Source from the content-addressed store, hash-verified

155 runsLeft(): number | undefined;
156 /** The original cron expression. */
157 getPattern(): string;
158 /**
159 * Information about the last actual execution, or `null` if the task has not
160 * run yet. `date` reflects when the execution really ran, not when a tick was

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected