cron to execute a shell script.
> The shell script invokes
>
> {path-to-php-binary}/php -q my_script.php
>
> That works fine.
>
> Hope that helps.
>
>
>
> --- mike cullerton <[EMAIL PROTECTED]> wrote:
> > on 1/16/02 11:26 AM, Tiago Luchini at
> >
> >> 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 er
> I have to sweat my way through
> /usr/bin/php if that does not work try /usr/local/bin/php
> or ask the Unix Sysadmin.
>
both paths work under a TTY but not when I send my script to cron.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
> 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 does
: "Dennis Moore" <[EMAIL PROTECTED]>
To: "Tiago Luchini" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 12:18 PM
Subject: Re: [PHP] PHP as a cron job
> Please provide more information on how you have set up PHP to run your
cron
&g
I have been trying to use some PHP scripts as a Linux cron job.
It tries to run but replies that:
Unable to open /home/admin/webmin-0.85/ in Unknown on line 0
I have no idea why PHP parser is making this confusion.
Could anyone bring some light to this mistery please?
Atenciosamente,
Tiago
6 matches
Mail list logo