From 103171c924a9de78b0a7600abb455fdd6f4bfea1 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Sun, 10 Aug 2025 18:13:32 -0500 Subject: [PATCH] refactor(notifications): refactored the cron job system so we can utilize outside the service --- server/services/notifications/utils/processNotifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/services/notifications/utils/processNotifications.ts b/server/services/notifications/utils/processNotifications.ts index 1339cd1..c65f6f2 100644 --- a/server/services/notifications/utils/processNotifications.ts +++ b/server/services/notifications/utils/processNotifications.ts @@ -105,7 +105,7 @@ export const startNotificationMonitor = async () => { }, 5 * 1000); }; -const createJob = async ( +export const createJob = async ( id: string, schedule: string, task: () => Promise