MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / removeJob

Method removeJob

src/runtime/adapters/scheduler.ts:394–404  ·  view source on GitHub ↗

* Remove a job and persist to job.json.

(id: string)

Source from the content-addressed store, hash-verified

392 };
393 }
394
395 /**
396 * Remove a job and persist to job.json.
397 */
398 removeJob(id: string): { success: boolean; message: string } {
399 const job = this.jobs.get(id);
400 if (!job) {
401 return { success: false, message: `Job "${id}" not found.` };
402 }
403
404 this.removeFromMap(id);
405 this.persistJobs();
406
407 return { success: true, message: `Job "${job.config.name}" removed.` };

Callers 4

executeFunction · 0.80
handleRequestMethod · 0.80
startMethod · 0.80
scheduler.test.tsFile · 0.80

Calls 2

removeFromMapMethod · 0.95
persistJobsMethod · 0.95

Tested by

no test coverage detected