Pete,
I had a similar problem when I moved a cron script from my test system to 
the live system. The script that I was using call upon php libraries that I 
had written for the rest of the sight. The problem was that the libraries 
were written for web page access and I didn't have time to make a new set of 
classes that worked from the command line. So I used lynx in my cron command 
to hit the web page. I just created a special account to run the script and 
everything turned out great. Let me know if you need the command that I used 
and on Tuesday I'll get it from the system.

-- 

:wq!
Jason


On 6/24/05, Pete <[EMAIL PROTECTED]> wrote:
> 
>  In message <[EMAIL PROTECTED]>, Pete <[EMAIL PROTECTED]>
> writes
> >
> >I am still having difficulty in getting the Cron job to run a php file.
> >You may recall that I mentioned a couple of days ago that I have a cron
> >job:
> >#!/usr/local/bin/php -q
> 
> I meant to write:
> >#!/usr/bin/php -q
> 
> I copied it from an older version.
> 
> -- 
> Pete Clark
> 
> http://www.hotcosta.com
> http://www.spanishholidaybookings.com
> 
> 
>  
> 
>  Community email addresses:
> Post message: [email protected]
> Subscribe: [EMAIL PROTECTED]
> Unsubscribe: [EMAIL PROTECTED]
> List owner: [EMAIL PROTECTED]
> 
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list 
> 
> 
> ------------------------------
> *Yahoo! Groups Links*
> 
>    - To visit your group on the web, go to:
>    http://groups.yahoo.com/group/php-list/
>    - To unsubscribe from this group, send an email to:
>    [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>    - Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
>    Service <http://docs.yahoo.com/info/terms/>. 
> 
>


[Non-text portions of this message have been removed]





Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to