How to make a team to obavljati the value of a column from all users for every day (24 hours)?

All users have the users table have a column with a value voice 3 how to update it to the beginning of each day, it is again updated and all was again 3 because during the day can okazatsya 1 or 2 0 or ie users can spend and need to first track day again the value in a Mysql table was updated again on 3 all users
March 19th 20 at 08:31
1 answer
March 19th 20 at 08:33
Solution
cron is still alive

1. write a script with the sql query to update the field for all users
2. prescribe it daily in a cron job

Find more questions by tags JavaScriptPHP