Re: PHP as a cron job

From: Date: Wed, 16 Jan 2002 20:06:51 +0000
Subject: Re: PHP as a cron job
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80809@lists.php.net to get a copy of this message
I know this is a total hack job but .... could you say, set the location of the script as your default page in a browser, then open the browser via cron and it would run it as the page opens? I am interested in this too, I am VERY new to Linux and have only just started to look at cron, any links to SIMPLE tutorials or something similar would be appreciated. php-l@bakednotfried.com wrote:
on 1/16/02 11:26 AM, Tiago Luchini at luchini@galluch.com.br wrote:
Unable to open /home/admin/webmin-0.85/ in Unknown on line 0
this is possibly a path or env issue. have you tried using absolute filenames?
Yes. Same thing happens with absolute or relative paths.
what's the line in your code where this error occurs?
it doesn't run any line at all. don't matter what I put on my code, it just says "unable to open...."
what's the first line of the file being called by cron? is it #!/usr/local/bin/php -q -- mike cullerton michaelc at cullerton dot com


« previous php.general (#80809) next »