Mysql – subtract one from all rows every minute – sql php
I have a database of a number of purchased plans with a value of minutes_left from which I want to subtract 1 number every minute. Now I am using this code using cron job: $sql = "SELECT * FROM pls";…