diff --git a/services/batch-scheduler.ts b/services/batch-scheduler.ts index 5a9a386..7cd1a8a 100644 --- a/services/batch-scheduler.ts +++ b/services/batch-scheduler.ts @@ -1,5 +1,6 @@ import { batchProcess } from "../scripts/fetch_and_generate.js"; import { config } from "./config.js"; +import { regenerateStartupFiles } from "./podcast.js"; interface BatchSchedulerState { enabled: boolean; @@ -138,6 +139,7 @@ class BatchScheduler { this.state.isRunning = false; this.state.canForceStop = false; this.currentAbortController = undefined; + await regenerateStartupFiles(); } }