Re: Run webscript from command line
| From: | David T-G | Date: | Thu, 14 Nov 2002 17:37:54 +0000 |
| Subject: | Re: Run webscript from command line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124460@lists.php.net to get a copy of this message | ||
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 -dump http://host/script.php > /path/to/output.file
should run the script, dump the output somewhere (perhaps /dev/null), and
exit.
% my PHP is not enabled for command line script.
That's also a problem :-)
% Regards Aate Drageset
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://www.justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!