View Single Post
Old November 8th, 2007, 12:46 PM   #1 (permalink)
FredFredrickson
Senior Member
Super #1
 
FredFredrickson's Avatar
 
Joined in Nov 2003
Lives in New Hampshire
1,260 posts
Gave thanks: 3
Thanked 27 times
Cron + PHP = HELP!

Ok, so I'm developing a small game-app for my website that basically creates a mini-stock market that people can buy and sell stocks in. It's gonna be fun and all that jazz.

An important feature, though, of course, is the ability to archive the market's past. This I want to do similarly to the real stock market- every 24 hours.

So- a cron job (or two) may help.

How do I RUN a php script using a cron job?

I used to have this:

lynx -dump http://www.fredrickville.com/rc/generate.php > /dev/null

but that no longer works.

any ideas folks?
__________________
FredFredrickson is offline   Reply With Quote