Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

how can i execute a script in mysql?

db entry image
I have a database (an example of a record in the database is presented below) and I need to make sure that after 30 seconds the person with status = notverified is deleted from the database, how can this be done

I thought to implement this all through a Sql query assigned for use, but I did not like this idea because there is no such button on the site that would be pressed so often for it to work correctly

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You could use a chronjob in mysql to do this. (If it is mysql here is a link:
https://dev.mysql.com/doc/refman/5.7/en/create-event.html
)

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading