Run PHP each 5th min or so

I need some help with getting a php script run each 5th min or so.

I use this script for the game Battlefield 2 to log hash keys so that we can ban players them from our server if they break a rule and left the server before we were able to login to the control panel and see them on the list.

The PHP script is working fine, but I need something that will run it if that is possible.

Thank you,

Christian || PhaxeNor

You can use cron to run periodic jobs. Here is the DreamHost wiki article on using cron at DreamHost.

BTW, make sure you don’t get in trouble for running a persistent game process on a shared hosting account.

Free unique IP and $67 off with promo code [color=#CC0000]LMIP67[/color] or use [color=#CC0000]LM97[/color] for $97 off. Click for more promo code discounts

Thanks, will try it now :slight_smile:

And it works almost like a forum that is getting new users.
But thanks for the heads up :slight_smile:

Christian || PhaxeNor