0
I need to run an Insert query every day at 23:59 with Mysql, without having to access the system
INSERT INTO TB_ESTOQUE_DIARIA (ID_PRODUTO, ESTOQUE, DATA)
SELECT ID, ESTOQUE_ATUAL, CURRENT_TIMESTAMP() FROM TB_PRODUTO
I don’t know if this information helps but my server is Hostinger.
have to check this with Hostinger, look more about
CRON
– novic
Oh thank you, that’s right. I’m just wondering, I don’t know if all the servers are like this but Hostinger creates a wp-cron.php file, in this file I run my php query normally right?
– Gustavo Henrique
any file . php runs on the php server has to attach on the linux system service ... !
– novic