On Wed, 22 Dec 2004 21:32:39 -0500, blackwater dev
<[EMAIL PROTECTED]> wrote:
> I need to use cron to call my php simpletest runner but am not sure of
> the syntax.  What syntax would I use for the cron job to call an
> external webpage?  My webhost uses webmin where I can just enter the
> command.  I don't want to call a page on the server but an another
> server.

cron can't 'call' a webpage, it's just the scheduling mechanism for
other commands.  You might try entering a PHP command as a cron entry
if that's what you mean.

* * * * * /usr/bin/php -r 'echo file_get_contents( "http://php.net";
);' >/dev/null 2>&1

There's also wget, curl, etc..


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to