Re: Starting PHP script with crontab
| From: | Chris Lee | Date: | Thu, 19 Apr 2001 22:53:54 +0000 |
| Subject: | Re: Starting PHP script with crontab | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49469@lists.php.net to get a copy of this message | ||
compile php as a cgi then do this
php -q test.php
done. no problem, it will probably install php into /usr/local/bin make sure its in the path
--
Chris Lee
lee@mediawaveonline.com
""Bertjan Schrader"" <mailing@unifact.nl> wrote in message news:9bmddj$hdd$1@toye.p.sourceforge.net...
I need tot start a PHP script at night with the crontab. I tried to do it
with lynx (lynx http://www.domain.nl/test.php) as a
commandline within the
crontab. Lynx is starting but the PHP script is not working. Anyone an idea
how to do it?
OS: Redhat Linux 5.2
Apache
PHP as a apache module
thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net