From 97a3478b1a4138f464fe463882c6bacabfd5060b Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 5 Sep 2023 17:48:50 -0500 Subject: [PATCH] cron: change cleanupEvents to every 15 minutes --- src/cron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cron.ts b/src/cron.ts index 1e08fdb..0085c59 100644 --- a/src/cron.ts +++ b/src/cron.ts @@ -14,4 +14,4 @@ async function cleanupEvents() { console.log(`Deleted ${result?.numDeletedRows ?? 0} events.`); } -cron.hourly(cleanupEvents); +cron.every15Minute(cleanupEvents);