Like using Python + MySQL to do the countdown?

I'm writing a bot for the VC, which then will bring to the host. I need to make it so that every 5 minutes a value in the database was increased by a certain number, and upon reaching certain limits stayed. It may be easier to understand this by analogy with the health Regeneration in games: you are not full HP it regenerated, you hit the regen started again. And I don't know how to implement it. I'll thank any idea.
March 12th 20 at 08:06
2 answers
March 12th 20 at 08:08
You can still use the built in MySQL task scheduler, then you do not have anything to pull from cron. By default, this scheduler is disabled because you first have to include the configs.
March 12th 20 at 08:10
Google algorithm count-down (English Countdown algorithm).
The count-Down in my case does not fit, because while there is a countdown, the bot dies - Isaiah_Grady commented on March 12th 20 at 08:13

Find more questions by tags PythonMySQL