MCPcopy
hub / github.com/codeaashu/claude-code / findMissedTasks

Function findMissedTasks

src/utils/cronTasks.ts:453–458  ·  view source on GitHub ↗
(tasks: CronTask[], nowMs: number)

Source from the content-addressed store, hash-verified

451 * was down is still "missed".
452 */
453export function findMissedTasks(tasks: CronTask[], nowMs: number): CronTask[] {
454 return tasks.filter(t => {
455 const next = nextCronRunMs(t.cron, t.createdAt)
456 return next !== null && next < nowMs
457 })
458}
459

Callers 1

loadFunction · 0.85

Calls 1

nextCronRunMsFunction · 0.85

Tested by

no test coverage detected