CHAMAVELI Posted July 30, 2008 Posted July 30, 2008 Hey guys, my host doesn't allow 1 min crons so I have changed it to 5 mins, but now if something is under 5 minutes in jail or hospital it will go to -X minutes and then if they get put into jail X will come off how much time their in jail or hospital for. I wanted to know if its possible to make it, if the time is under 5 minutes to remove the number without going into minus. Thanks. Quote
Isomerizer Posted July 30, 2008 Posted July 30, 2008 Re: Modified Cron Job help mysql_query( sprintf("UPDATE `users` SET `jail` = 0 WHERE `jail` < 5") ); Quote
danger boy Posted July 30, 2008 Posted July 30, 2008 Re: Modified Cron Job help Best thing is get a host that allows you to have 1 min crons Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.