Update all records with this "field"[Topic Solved]
Posted: Sun Oct 14, 2007 3:22 pm
Is there a way to make a script that does this:
Find all records with $Currentstat less than $Max...
Then with all records found with that... add X amount on to "Current field" ?
But this script needs to run on its own as i will be using it as a Cron so even if no one is logged in it should still work.
And if $CurrentStat is equal to Max then do nothing?
Find all records with $Currentstat less than $Max...
Then with all records found with that... add X amount on to "Current field" ?
But this script needs to run on its own as i will be using it as a Cron so even if no one is logged in it should still work.
And if $CurrentStat is equal to Max then do nothing?