Re: PHP as a cron job
| From: | Tiago Luchini | Date: | Thu, 17 Jan 2002 10:36:05 +0000 |
| Subject: | Re: PHP as a cron job | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80892@lists.php.net to get a copy of this message | ||
> >>>>>> 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
>
Exactly!
Tiago