From 71d87ebdcd21bed21e2454fb6f8eacd5f33ffd5f Mon Sep 17 00:00:00 2001 From: Julien Ripouteau Date: Fri, 26 Jan 2024 17:32:43 +0100 Subject: [PATCH] fix: run package refresher on startup --- start/scheduler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/start/scheduler.ts b/start/scheduler.ts index 624e5d8..3fd7741 100644 --- a/start/scheduler.ts +++ b/start/scheduler.ts @@ -11,4 +11,5 @@ CronJob.from({ start: true, cronTime: '0 */3 * * *', onTick: () => refresher.refresh(), + runOnInit: true, })