0

I have a simple DB, which has a table holding a token (128 random bit integer) is there any mysql-library, option based on pure-mysql which updates that token every X time?

I could be using cron or some php scripts, but could this be achieved using only a MySQL database?

Thanks!

jhonroger
  • 37
  • 8
  • Does this answer your question? [Run a mySQL query as a cron job?](https://stackoverflow.com/questions/21196613/run-a-mysql-query-as-a-cron-job) – Zak Apr 08 '21 at 16:51
  • 1
    The second Answer in the post above .. Use an `Event Scheduler` – Zak Apr 08 '21 at 16:52
  • 2
    dont use cron - cron runs also when the database is down. use the MySQL Scheduler – Bernd Buffen Apr 08 '21 at 16:54

0 Answers0