I am not clear on what you are trying do.
However, let me tell you how we are running PHP
scripts as cron jobs.
We have setup 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
> [EMAIL PROTECTED] 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
=====
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]