Page 1 of 1

Scehduling a PHP script - Possible???

Posted: Tue Dec 31, 2002 8:12 pm
by fractalvibes
This may be more of an Apache question, but is there a way to schedule a PHP script to run periodically? Say I have a little forum application, and I'd like to give members the option to recieve all posts either by email,
read on web only, or as a daily digest. A script that could be scheduled to run daily for the digests would be ideal. haven't yet figured out how to
grab replies to these posts and plug into my database either. A very enjoyable learning process, PHP is. You have to step from ASP to .Net to have much the same functionality as PHP natively, and that is impressive.

Many Thanks,

Phil Jackson

Posted: Tue Dec 31, 2002 8:25 pm
by cybaf
which platform are you running on?

if *nix platform you can setup a cron job to run the script for you...

happy new years.

//cybaf

Scheduling PHP scripts

Posted: Tue Dec 31, 2002 8:46 pm
by fractalvibes
It is Linux/Apache/PHP/MySQL - leased server space. The Chron job sounds interesting. Where might one find more info about proceeding with creating one?

thanks, and a very Happy New Year to you and all!

Phil Jackson

Posted: Tue Dec 31, 2002 10:13 pm
by phice

Scheduling a PHP script

Posted: Tue Dec 31, 2002 11:30 pm
by fractalvibes
Excellent resource - many thanks, Phice. And a fellow Texan to boot!

thanks!

Phil J.