Re: PHP and Cron

From: Date: Thu, 14 Sep 2000 15:20:29 +0000
Subject: Re: PHP and Cron
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16792@lists.php.net to get a copy of this message
Adam Charnock wrote: > > Hi all. I have written a PHP script that needs to be run as a cron job. > However, since it does not have a line such as this I am told it will not > work: > #!/usr/bin/perl > > Has anyone else managed a work around for this problem or is there a good > solution to it? > > Thanks > Adam Charnock > Uh... I don't know, but I have some ideas. Seems PHP 4.0.2 has a standalone interpretter. At least I have one. But maybe you can do something like 'lynx -dump http://x.y.z/foo.php >/dev/null' or some option that makes lynx go away. -- Jason Murray Developer jWeb New Media Design

« previous php.general (#16792) next »