From ccf91bb8327fee0b41f4aaaceb05047a6ea44672 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Mon, 5 Feb 2024 12:53:09 +0100 Subject: [PATCH] Add alerts cron job --- initdb/04pgcron.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initdb/04pgcron.sql b/initdb/04pgcron.sql index e808dcf..6303398 100644 --- a/initdb/04pgcron.sql +++ b/initdb/04pgcron.sql @@ -76,7 +76,7 @@ SELECT cron.schedule('cron_prune_otp', '*/15 * * * *', 'select public.cron_proce -- Alerts -- Create a every 11 minute job cron_process_alerts_fn ---SELECT cron.schedule('cron_alerts', '*/11 * * * *', 'select public.cron_process_alerts_fn()'); +SELECT cron.schedule('cron_alerts', '*/11 * * * *', 'select public.cron_process_alerts_fn()'); -- Notifications/Reminders of no vessel & no metadata & no activity -- At 08:05 on Sunday.