MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / getScheduleStatusClass

Function getScheduleStatusClass

static/js/app.js:914–920  ·  view source on GitHub ↗
(job)

Source from the content-addressed store, hash-verified

912}
913
914function getScheduleStatusClass(job) {
915 if (!job.enabled) return 'cancelled';
916 if (job.status === 'failed') return 'failed';
917 if (job.is_running || job.status === 'running') return 'running';
918 if (job.status === 'scheduled') return 'completed';
919 return 'pending';
920}
921
922async function loadScheduledJobs() {
923 if (!elements.scheduleJobsTable) return;

Callers 1

renderScheduledJobsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected