correct...

> -----Original Message-----
> From: Michael Virnstein [mailto:[EMAIL PROTECTED]]
> Sent: 17 May 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Using php as a scripting language within cron jobs?
> 
> 
> > Set your cron job up as "lynx -dump 
> http://www.myserver.com/myscript.php >
> > /dev/null" (or pipe it to a logfile if you fancy) - 
> obviously, you'll need
> > lynx installed for this to work :-)
> 
> but this is only needed only if you compile php into apache 
> or am i wrong?
> if i have the cgi version installed, i can call the php script
> directly from the shell. The only thing for me to do then, is to set
>  #!/path.to/php in the first line of the script, right?
> 
> Regards Michael
> 
> "Jon Haworth" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> 67DF9B67CEFAD4119E4200D0B720FA3F010C40D4@BOOTROS">news:67DF9B67CEFAD4119E4200D0B720FA3F010C40D4@BOOTROS...
> > Hi Henry,
> >
> > > Is this possible?
> >
> > yup.
> >
> > Set your cron job up as "lynx -dump 
> http://www.myserver.com/myscript.php >
> > /dev/null" (or pipe it to a logfile if you fancy) - 
> obviously, you'll need
> > lynx installed for this to work :-)
> >
> > Cheers
> > Jon
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

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

Reply via email to