salix/db/routines/vn/events/greuge_notify.sql

10 lines
296 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` EVENT `vn`.`greuge_notify`
ON SCHEDULE EVERY 1 DAY
STARTS '2023-01-01 00:07:00.000'
ON COMPLETION NOT PRESERVE
ENABLE
COMMENT 'Notifies subscribed users of events in wrong greuges'
DO CALL vn.greuge_notifyEvents()$$
DELIMITER ;