Running Script Every 5 Minutes - How?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
djwk
Forum Commoner
Posts: 56
Joined: Tue Mar 07, 2006 2:14 pm

Running Script Every 5 Minutes - How?

Post by djwk »

Hi there,

I'm working on a script for one of my websites.

I need the script to run every 5 minutes or something similar. The script I would like to run is to add/remove funds from a virtual account.

I would like to know how I would go about running the script every 5 minutes.


I've heard of Cron Jobs but I don't understand how they work. In cPanel I see "Command to run:" how would I run a PHP script with this method? or is is there a better way someone could explain?

Any help appreciated.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
boba
Forum Newbie
Posts: 15
Joined: Sun Feb 04, 2007 2:46 pm
Location: Kharkov, Ukraine
Contact:

Post by boba »

Post Reply