Stats

PHP Version 4.4.4

../configure' '--with-pear' '--with-mysql=/usr' '--with-zlib' '--enable-debug=no' '--enable-safe-mode=no' '--enable-discard-path=no' '--with-gd=/usr' '--with-png-dir=/usr/lib' '--enable-track-vars' '--with-db' '--with-gdbm' '--enable-force-cgi-redirect' '--with-ttf=/usr/' '--enable-ftp' '--with-mcrypt' '--enable-dbase' '--enable-memory-limit' '--enable-calendar' '--enable-wddx' '--with-jpeg-dir=/usr/src/kundenserver/jpeg-6b' '--enable-bcmath' '--enable-gd-imgstrttf' '--enable-shmop' '--enable-mhash' '--with-mhash=/usr/src/kundenserver/mhash-0.8.9/' '--with-openssl' '--enable-xslt' '--with-xslt-sablot' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--with-imap' '--with-curl' '--with-iconv=/usr/local' '--with-freetype-dir=/usr/include/freetype2' '--with-bz2' '--with-gettext' '--enable-exif' '--with-idn' '--enable-mbstring=all'

-------------------------------------

mysql Ver 14.12 Distrib 5.0.16, for pc-linux-gnu (i686) using readline 5.0

-------------------------------------

$sugar_version = '4.0.1e';
$sugar_db_version = '4.0.1';
$sugar_flavor = 'OS';

-------------------------------------

Linux infong 2.4 #1 SMP Thu Jan 13 08:59:31 CET 2005 i686 unknown

Problem

I have three jobs in my Scheduler.

Two run every ten minutes, the other on the hour.

But it seems, even though my crontab is set to run * * * * * (every minute), the Scheduler isn't running every minute.

Take for instance my runMassEmailCampaign job. Here's the job log:

2006-11-07 14:10 Completed
2006-11-07 14:10 Completed
2006-11-07 07:04 Completed
2006-11-07 04:03 Completed
You see how it's skipping hours? It's supposed to run every hour on the hour.

Now, in the crontab, I've set it up to log to a text file. When it runs successfully, it returns:

X-Powered-By: PHP/4.4.4
Content-type: text/html
But often, it returns nothing. I placed error_reporting(E_ALL); at the top of cron.php and appended (when the job seemed to run correctly) was:

<br />
<b>Notice</b>: Undefined index: REMOTE_ADDR in <b>/homepages/23/d115210559/htdocs/xigmasales.com/crm/log4php/LoggerManager.php</b> on line <b>92</b><br />
But often, it runs, and returns nothing. A zero byte file.

Any ideas why this is so inconsistent? Why would cron be "skipping" scheduled jobs?