Hello, how can I make the value field increase by 1 every 3 minutes in the database?
I have gas in the game. Now, if gasoline is less than 100, add +1 every 3 minutes until 100.
EVENT
Run the script every 3 minutes by cron and execute the query
UPDATE car SET gas = gas + 1 WHERE gas < 100
Source: https://ru.stackoverflow.com/questions/222665/More articles:Finding the location of the .exe fileError installing Sass: While executing gemHow to wait for the completion of four asynchronous get requests?Customer orderModx tv text editor does not displayDenwer and file_get_contentsAfter submitting the form, the next time Ajax does not workFrame redirectSearch for the same largest strings in K arraysSorting an array of structures.All Articles
EVENT
. - Indifferent