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
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
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
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
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/)
5 matches
Mail list logo