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

10 lines
292 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`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 ;