Skip to content

Commit a90fda4

Browse files
committed
cron job update
1 parent d5200e1 commit a90fda4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/calendar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ export async function execute(client: Client) {
442442

443443
try {
444444
// Check events on a schedule
445-
cron.schedule("*/5 * * * *", async () => hookLogic(client, preWebhook));
445+
cron.schedule("0 8 * * *", async () => hookLogic(client, preWebhook));
446446
cron.schedule("0 12 * * *", async () => hookLogic(client, webhook));
447447
// Catch any errors
448448
} catch (err: unknown) {

0 commit comments

Comments
 (0)