(job)
| 912 | } |
| 913 | |
| 914 | function 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 | |
| 922 | async function loadScheduledJobs() { |
| 923 | if (!elements.scheduleJobsTable) return; |
no outgoing calls
no test coverage detected