A
A
Alexander2016-03-18 11:55:36
MySQL
Alexander, 2016-03-18 11:55:36

How to delete data from a table after a certain time?

There is a table of users and I need to delete users every 20 minutes who have 1 in the ban field. And this should happen automatically without my knowledge of the site.
Is it possible to do this? if not, then leave ideas on this score.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
amf1k, 2016-03-18
@kentuck1213

Run a script with a request through CRON.

V
Vladimir, 2016-03-18
@rostel

can be done by means of the muscle itself

S
Severus256, 2016-03-18
@severus256

triggers?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question