MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / recordRunStart

Method recordRunStart

src/schedule/store.ts:166–171  ·  view source on GitHub ↗
(scheduleId: string)

Source from the content-addressed store, hash-verified

164 }
165
166 recordRunStart(scheduleId: string): number {
167 const r = this.db.prepare(
168 `INSERT INTO schedule_runs (schedule_id, status) VALUES (?, 'running')`,
169 ).run(scheduleId);
170 return Number(r.lastInsertRowid);
171 }
172
173 /**
174 * Record the result of a run and atomically advance next_run_at.

Callers 2

schedule.test.tsFile · 0.80
runOneFunction · 0.80

Calls 1

runMethod · 0.65

Tested by

no test coverage detected