How to run a MYSQL query on a pre-defined fixed time?

后端 未结 3 1349
夕颜
夕颜 2021-01-06 16:40

I have a Mysql insert query. I need to run the query everyday, at 11:00 AM.

How do I execute a query on a fixed time in MySQL?
In MS-SQL i can easily do it by S

3条回答
  •  一整个雨季
    2021-01-06 16:52

    if you are using mysql 5.1.6 + use the event scheduler see: http://dev.mysql.com/doc/refman/5.1/en/events.html

    or how about setting up a job in your OS using cron or at ?

提交回复
热议问题