Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Cron Issue

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
tonythemediaguy



Joined: 10 Apr 2006
Posts: 12

PostPosted: Mon Apr 10, 2006 4:21 pm    Post subject: Cron Issue Reply with quote

Hello,

The problem I'm having is the path of the cron. After I set it up, I got an email from the cron that says:

/bin/sh: line 1: /usr/local/bin/php: No such file or directory

So I logged into my server as root and looked for the php folder (I didn't set any of this up) and changed the cron to this. So now I get an email once an hour that says:

/bin/sh: line 1: /usr/lib/php: is a directory

Why is it telling me it's a directory over and over. Does this mean that it's the wrong directory? How do I find the correct php folder?

Thanks,

Tony
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Apr 10, 2006 4:59 pm    Post subject: Reply with quote

Hi tonythemediaguy,

The cron job needs to point to the full path of php. So if PHP is in /usr/lib/php, the path would be /usr/lib/php/php. Though that would be a set up I have not seen before. It is more likely /usr/bin/php. Some commands that may help you find PHP. .. these can be typed at the command prompt..

1) type php
2) which php

Let me know if this doesn't correct the issue.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.