salix/db/routines/tmp/events/clean.sql

9 lines
203 B
MySQL
Raw Permalink Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` EVENT `tmp`.`clean`
ON SCHEDULE EVERY 1 HOUR
STARTS '2022-03-01 00:00:00.000'
ON COMPLETION PRESERVE
ENABLE
DO CALL tmp.clean$$
DELIMITER ;