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

12 lines
311 B
MySQL
Raw Normal View History

2024-02-12 09:35:12 +00:00
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;