From 9afe0d55c2b0681f0ad1fc419770a999cb61f2c2 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Wed, 8 Oct 2025 15:05:56 -0700 Subject: [PATCH] fix: cron every day not hour --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index c3009a5..d222985 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,7 +34,7 @@ export class DiscordAnalytics { if (this.job) { return; } - this.job = scheduleJob("metrics", "0 * * * *", async() => { + this.job = scheduleJob("metrics", "0 0 * * *", async() => { try { const fakeGuilds = await this.client.guilds.fetch(); const guilds = await Promise.all(