diff --git a/src/scheduler.js b/src/scheduler.js index 96ca4c49a..5add69f6e 100644 --- a/src/scheduler.js +++ b/src/scheduler.js @@ -146,7 +146,7 @@ async function sync() { continue; } - if (gSuspendedAppIds.has(app.d)) continue; // do not create jobs of suspended apps + if (gSuspendedAppIds.has(app.id)) continue; // do not create jobs of suspended apps const cronJobs = await createJobs(app, schedulerConfig); // if docker is down, the next sync() will recreate everything for this app gState[app.id] = { containerId: app.containerId, schedulerConfig, cronJobs };