feat(cron): default scheduler enabled

This commit is contained in:
Peter Steinberger
2025-12-13 03:49:29 +00:00
parent eace21dcae
commit 772b5fdf0f
4 changed files with 10 additions and 6 deletions

View File

@@ -387,7 +387,7 @@ export async function startGatewayServer(
});
const deps = createDefaultDeps();
const cronEnabled =
process.env.CLAWDIS_SKIP_CRON !== "1" && cfgAtStart.cron?.enabled === true;
process.env.CLAWDIS_SKIP_CRON !== "1" && cfgAtStart.cron?.enabled !== false;
const cron = new CronService({
storePath: cronStorePath,
cronEnabled,