Results 1 to 4 of 4

Thread: scheduling on Mac OS X

  1. #1
    ElgertS is offline Sugar Community Member
    Join Date
    Dec 1969
    Posts
    92

    Default scheduling on Mac OS X

    I have a new install of SugarCRM 5.0.0g on Mac OS X Server 10.5.4 and I am not able to get the scheduled jobs to process. I have tried setting up cron jobs and tried the wiki suggestion, but when I even manually run these commands either via a web browser or cli I get nothing to process. The only thing that will process is if I go to the admin and click the button to manually send queued messages. I have searched and tried lots of options on setting up cron jobs and nothing is working for me.

  2. #2
    jnassi's Avatar
    jnassi is offline Sugar Team Member
    Join Date
    Apr 2005
    Posts
    455

    Default Re: scheduling on Mac OS X

    Quote Originally Posted by ElgertS
    I have a new install of SugarCRM 5.0.0g on Mac OS X Server 10.5.4 and I am not able to get the scheduled jobs to process. I have tried setting up cron jobs and tried the wiki suggestion, but when I even manually run these commands either via a web browser or cli I get nothing to process. The only thing that will process is if I go to the admin and click the button to manually send queued messages. I have searched and tried lots of options on setting up cron jobs and nothing is working for me.
    What is the cli syntax you're using to execute cron.php? Were there any errors returned?
    Jason Nassi
    SugarExchange.com

  3. #3
    ElgertS is offline Sugar Community Member
    Join Date
    Dec 1969
    Posts
    92

    Default Re: scheduling on Mac OS X

    I haven't gotten any errors unless I try to process the emailmandelivery.php, in which case it says the page has moved and redirects to index.php.

    What I have run is various takes on this:

    * * * * * php -f cron.php 2>&1

    specifying the actual location of the cron.php file or using cd to get to that directory first.

    I have also tried using curl to run cron.php and emailmandelivery.php and also tried wget. With these, I do sometimes get errors, primarily it doesn't run the last command which is the one that sends the action to delivery the email.

  4. #4
    jnassi's Avatar
    jnassi is offline Sugar Team Member
    Join Date
    Apr 2005
    Posts
    455

    Default Re: scheduling on Mac OS X

    Some things to try....

    1) Raise your sugarcrm log level in log4php.properties from fatal to debug, on a temporary basis. That way you can tail the sugarcrm.log file to see if the schedulers are executing at all, and you'll know when you have success.

    2) Ensure that you're using the RIGHT php binary by specifying the full path of the php binary. You can verify the path that Sugar is using by dropping a phpinfo file into your Sugar root.

    3) Ensure that you're running the command as the same user that your web server is running as.

    Hope something here helps unsticks your scheduler.. without any errors, it's difficult to know where the problem resides
    Jason Nassi
    SugarExchange.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MAc os x install apache
    By nbayliss in forum Help
    Replies: 1
    Last Post: 2010-05-05, 11:19 AM
  2. Replies: 8
    Last Post: 2008-08-08, 03:37 PM
  3. Incompatible library on Mac OS X Server 10.5
    By bwalker in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-02-16, 09:16 PM
  4. MySQL on Mac OS X
    By sydneystephen in forum Help
    Replies: 2
    Last Post: 2006-12-14, 09:43 PM
  5. installation nouveau module - Mac OS X zip?
    By ensiate in forum Français
    Replies: 1
    Last Post: 2006-04-21, 06:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •