DefectRAG / deployment /email_automation_pause.sql
Wizzas's picture
Upload source code
2274b3a verified
Raw History Blame Contribute Delete
366 Bytes
-- REVIEW ONLY: reversible pause; no data/extension/job deletion.
-- Also set Edge DEFECTRAG_NOTIFICATIONS_ENABLED=0 first where possible.
begin;
update public.notification_automation_settings set enabled=false where singleton;
do $$ begin
perform cron.alter_job(jobid,active:=false) from cron.job where jobname='defectrag-developer-notifications';
end $$;
commit;