7167-testToMaster_2414 #2244
|
@ -0,0 +1,11 @@
|
||||||
|
DELIMITER $$
|
||||||
|
CREATE EVENT IF NOT EXISTS `zone_getCollisions`
|
||||||
|
ON SCHEDULE EVERY 1 DAY
|
||||||
|
STARTS CURRENT_TIMESTAMP + INTERVAL 1 DAY
|
||||||
|
ENABLE
|
||||||
|
DO BEGIN
|
||||||
|
CALL `zone_getCollisions`();
|
||||||
|
-- Desactivar el evento después de ejecutarse
|
||||||
|
ALTER EVENT `zone_getCollisions` DISABLE;
|
||||||
|
END$$
|
||||||
|
DELIMITER;
|
Loading…
Reference in New Issue