Re: [PHP] Run webscript from command line

2002-11-14 Thread John Nichel
One way would be to use lynx. Another way is to compile php as a cgi as well as a module. Whenever I install / upgrade php on one of my systems, I compile it twice, with all the same options, save --with-apache. When you don't compile it with a webserver, you'll get the php executable, which

Re: [PHP] Run webscript from command line

2002-11-14 Thread Ernest E Vogelsinger
At 18:36 14.11.2002, Adam Williams spoke out and said: [snip] >0 0 * * * lynx http://whatever/blah.php &; sleep 5; killall -9 lynx [snip] I believe it's better to let lynx decide when the page is done: 0 0 * * * lynx

Re: [PHP] Run webscript from command line

2002-11-14 Thread David T-G
Aate -- ...and then Aate Drageset said... % % Not specifically php-problem, but.. % How could i run a php-script from command line (cron.daily) using no GUI or X ?? % There should be some way of using a browser or comparable. Have you tried lynx, links, w3m, or the like? Something like lynx

Re: [PHP] Run webscript from command line

2002-11-14 Thread Adam Williams
0 0 * * * lynx http://whatever/blah.php &; sleep 5; killall -9 lynx Adam On Thu, 14 Nov 2002, Aate Drageset wrote: > Not specifically php-problem, but.. > How could i run a php-script from command line (cron.daily) using no GUI or X ?? > There should be some way of using

[PHP] Run webscript from command line

2002-11-14 Thread Aate Drageset
Not specifically php-problem, but.. How could i run a php-script from command line (cron.daily) using no GUI or X ?? There should be some way of using a browser or comparable. my PHP is not enabled for command line script. Regards Aate Drageset -- PHP General Mailing List (http://www.php.net/)