X
X
xzerozx2019-10-29 14:34:31
MySQL
xzerozx, 2019-10-29 14:34:31

How to automate a mysql query?

Hello.
I’ll make a reservation right away, I’m new to the topic, I re-read a bunch of literature, there’s a mess in my head and understanding of the essence didn’t come =(.
There is a request in a text file of the following form -
UPDATE `zero-actual-dump`.`wp_usermeta` SET `meta_value`=' online' WHERE `umeta_id`=7658;
It is necessary that this query be processed automatically 3 times a day (09, 12 and 16 hours) Ubuntu server system, mysql
Please tell me how to implement this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Samsonov, 2019-10-29
@xzerozx

If it is by means of MySQL, then there are events (events) with which this can be done
https://dev.mysql.com/doc/refman/8.0/en/event-sche...

R
Rsa97, 2019-10-29
@Rsa97

cron

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question