9 lines
292 B
SQL
9 lines
292 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` EVENT `vn`.`workerJourney_doRecalc`
|
|
ON SCHEDULE EVERY 1 DAY
|
|
STARTS '2023-07-22 04:00:00.000'
|
|
ON COMPLETION PRESERVE
|
|
ENABLE
|
|
DO CALL workerJourney_replace(util.VN_CURDATE() - INTERVAL 1 WEEK, util.VN_CURDATE(), NULL)$$
|
|
DELIMITER ;
|