RE: [PHP] OT cron/perl/php..
| From: | Jay Blanchard | Date: | Wed, 05 Jun 2002 16:23:02 +0000 |
| Subject: | RE: [PHP] OT cron/perl/php.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100728@lists.php.net to get a copy of this message | ||
[snip]
You already have the php script, so use that. modify it so that it does
exactly what you need on your system, so that when you call it up through
www.youdomain.com/script.php, it does what you need without any user
interaction or producing any output to the screen (email or log file is
okay).
Then, you can use lynx as the program to call in your cron job.
lynx -dump http://www.yourdomain.com/script.php
[/snip]
Also, if you use PHP compiled for CGI you don't have to do the lynx --dump
at all. You can just call the PHP script from the CRON same as you would a
PERL script.
HTH!
Jay