| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Senior Member
Super #1
Joined in Nov 2003
Lives in New Hampshire
1,182 posts
Gave thanks: 3
Thanked 22 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?
__________________
The Coding Blog - Follow along as we discover and discuss everything it takes to code an entire website, start to finish! [Latest Entry: 4/4/08 - Starting a Website] |
|
|
|
|
|
#3 (permalink) |
|
Senior Member
Super #1
Joined in Nov 2003
Lives in New Hampshire
1,182 posts
Gave thanks: 3
Thanked 22 times
|
thnx
__________________
The Coding Blog - Follow along as we discover and discuss everything it takes to code an entire website, start to finish! [Latest Entry: 4/4/08 - Starting a Website] |
|
|
|