How to delete mysql row after time passes?

后端 未结 6 773
闹比i
闹比i 2020-11-29 01:56

I have no idea where to start with this one:

I have a database that stores postID and Date.

What I want to do is have my website au

6条回答
  •  萌比男神i
    2020-11-29 02:19

    MySQL doesn't have a task scheduler. So you have to use the task scheduler of your Operating System (CRON under Linux), or to lunch a basic task checker sub-script during the script of the main page (on another page that is supposed to display the changing data).

提交回复
热议问题