10 lines
304 B
MySQL
10 lines
304 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` EVENT `vn`.`vehicle_notify`
|
||
|
ON SCHEDULE EVERY 1 DAY
|
||
|
STARTS '2022-01-01 00:07:00.000'
|
||
|
ON COMPLETION NOT PRESERVE
|
||
|
ENABLE
|
||
|
COMMENT 'Notifies subscribed users of events in vehicles that are about t'
|
||
|
DO CALL vn.vehicle_notifyEvents$$
|
||
|
DELIMITER ;
|