On Tue, 13 Nov 2001, Jack Dempsey wrote:

> how did you plan on running php from cron? however you do that you could run
> a perl script that just makes a system call and does the same thing....

[blah.php]
#!/path/to/php -q

do_stuff();

[/blah.php]

Then just add a record to user crontab, running the script whenever and
writing any output to either a log file or /dev/null - a matter of taste,
I believe. :)

You have to ./configure PHP without Apache support though for it to build
a PHP binary.

Cheers,

Nick Winfield.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to