refactor(notifications): refactored the cron job system so we can utilize outside the service

This commit is contained in:
2025-08-10 18:13:32 -05:00
parent 2eb6fa7794
commit 103171c924

View File

@@ -105,7 +105,7 @@ export const startNotificationMonitor = async () => {
}, 5 * 1000);
};
const createJob = async (
export const createJob = async (
id: string,
schedule: string,
task: () => Promise<void>