cron: change cleanupEvents to every 15 minutes

This commit is contained in:
Alex Gleason 2023-09-05 17:48:50 -05:00
parent a46381849f
commit 97a3478b1a
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -14,4 +14,4 @@ async function cleanupEvents() {
console.log(`Deleted ${result?.numDeletedRows ?? 0} events.`); console.log(`Deleted ${result?.numDeletedRows ?? 0} events.`);
} }
cron.hourly(cleanupEvents); cron.every15Minute(cleanupEvents);