Results 1 to 2 of 2

Thread: cron.php not running as expected

  1. #1
    cenforsberg is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    15

    Default cron.php not running as expected

    Running sugar 4.2.1b on PHP 5.0.5 (Linux), cron.php doesn't seem to work as expected.

    root@wiggin:/var/www/sugarcrm# php5 -v
    PHP 5.0.5-2ubuntu1.3 (cli) (built: Jul 18 2006 23:00:53)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
    root@wiggin:/var/www/sugarcrm# php5 -f cron.php
    root@wiggin:/var/www/sugarcrm# php5 -a -f cron.php
    Interactive mode enabled


    Fatal error: Class 'DBManager' not found in /var/www/sugarcrm/include/database/MysqlManager.php on line 502

    Any ideas? Checking the schedule manager, the jobs are not run as they should.

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: cron.php not running as expected

    My cron works I am using SugarCRM 4.2.1b. but I do get the same error when using the interactive mode. I think that error has something to do with interactive mode.

    I have found that sometimes gets locked up because the jobs state is not correctly set. When I delete the job and recreate the job it starts working again.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



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
  •