diff --git a/src/web/public/app.js b/src/web/public/app.js index c63f12be..eb9a1754 100644 --- a/src/web/public/app.js +++ b/src/web/public/app.js @@ -165,6 +165,12 @@ const _SSE_HANDLER_MAP = [ [SSE_EVENTS.SCHEDULED_COMPLETED, '_onScheduledCompleted'], [SSE_EVENTS.SCHEDULED_STOPPED, '_onScheduledStopped'], + // Scheduled jobs (cron-style scheduler) + [SSE_EVENTS.SCHEDULER_JOBS_CHANGED, '_onSchedulerJobsChanged'], + [SSE_EVENTS.SCHEDULER_JOB_DELETED, '_onSchedulerJobsChanged'], + [SSE_EVENTS.SCHEDULER_RUN_CREATED, '_onSchedulerRunChanged'], + [SSE_EVENTS.SCHEDULER_RUN_UPDATED, '_onSchedulerRunChanged'], + // Respawn [SSE_EVENTS.RESPAWN_STARTED, '_onRespawnStarted'], [SSE_EVENTS.RESPAWN_STOPPED, '_onRespawnStopped'], diff --git a/src/web/public/constants.js b/src/web/public/constants.js index 33b74246..eabf8dcc 100644 --- a/src/web/public/constants.js +++ b/src/web/public/constants.js @@ -276,6 +276,12 @@ const SSE_EVENTS = { SCHEDULED_LOG: 'scheduled:log', SCHEDULED_DELETED: 'scheduled:deleted', + // Scheduled jobs (cron-style scheduler) + SCHEDULER_JOBS_CHANGED: 'scheduler:jobsChanged', + SCHEDULER_JOB_DELETED: 'scheduler:jobDeleted', + SCHEDULER_RUN_CREATED: 'scheduler:runCreated', + SCHEDULER_RUN_UPDATED: 'scheduler:runUpdated', + // Respawn RESPAWN_STARTED: 'respawn:started', RESPAWN_STOPPED: 'respawn:stopped', diff --git a/src/web/public/index.html b/src/web/public/index.html index 3f6edd2d..0d5d0b9b 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -541,6 +541,7 @@
@@ -570,6 +571,95 @@ + +