KavehSadeghiGarmaroudi
3/9/2019 - 11:41 AM

mysq event

expire automatic date field

delimiter |
CREATE EVENT do_expire_pay
    ON SCHEDULE
      EVERY 5 SECOND
    DO
      BEGIN
        call do_do_expire();
        
    END |
delimiter ;


SET GLOBAL event_scheduler = ON;