I need a Stored Procedure to be called every day at 23:59:00 but I have already tried it in some ways and when it arrives at that time it does not execute!
CREATE EVENT 'ATUALIZARDADOS' ON SCHEDULE
EVERY 1 DAY STARTS '2017-11-16 23:59:00' ON COMPLETION PRESERVE
DO
begin
CALL MULTAOFF();
CALL RESERVAOFF();
INSERT INTO configuracao (id,DiasMulta,DiasLivroMaior,DiasLivroMenor)
values ('8','2','3','4');
end &&
delimiter ;
detail, this snippet was just so I can know if the event is working or not)
INSERT INTO configuracao (id,DiasMulta,DiasLivroMaior,DiasLivroMenor)
values ('8','2','3','4');
Can anyone help me with this problem?