Results 1 to 2 of 2

Thread: Problem with Cron: php: not found

  1. #1
    DaleThomas is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    13

    Default Problem with Cron: php: not found

    Problem:
    I am having a problem with CRON. I get email confirmations once CRON executes with errors. I am using the H-Sphere control panel to submit my jobs. Any help would appreciated. I am new to CRON and SugarCRM.

    Version Info:
    » Operating system type and version: FreeBSD 5.4-RELEASE-p14
    » Sugar Suite version: 4.2.0
    » Webserver type and version: Apache/1.3.34 (Unix)
    » PHP version: PHP/4.4.2
    » MySQL server version : 4.1.15

    The error:
    php: not found

    The command given:
    cd /hsphere/local/home2/sugar/sugar.mydomain.com; php -f cron.php > /dev/null 2>&1

    Here is a picture of how the Cron Jobs are submitted.


    Please let me know if I need to provide any other information.

  2. #2
    DaleThomas is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    13

    Default Re: Problem with Cron: php: not found

    This is now resolved.

    In my particular situation I needed to replace
    cd /hsphere/local/home2/sugar/sugar.mydomain.com; php -f cron.php > /dev/null 2>&1

    With:
    usr/local/bin/lynx http://sugar.mydomain.com/cron.php > /dev/null 2>&1

Thread Information

Users Browsing this Thread

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

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
  •