Re: PHP Perl and Cron

From: Date: Thu, 14 Sep 2000 15:12:59 +0000
Subject: Re: PHP Perl and Cron
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16795@lists.php.net to get a copy of this message
Hi Adam! On Thu, 14 Sep 2000, Adam Charnock wrote: > Hi all. I've been looking through the archives for a way to execute PHP > scripts via cron. I am going to try making a Perl script that opens the URL > to my PHP script which should execute it. just compile PHP as a CGI binary (i.e. don't use --with-apache or --with-apxs when configuring; don't forget to `make clean' before that). install it (it will go in /usr/local/bin/, iirc) then edit yout file: #!/usr/local/bin/php -q <? your script here ?> chmod +x <script-name> and you're back in business with PHP (People Hate Perl :) gl -- teodor

« previous php.general (#16795) next »