Hi DT,
Which version of XAMPP? I'd like to replicate your problem. We did have a weird issue with 1.5.1, where the code I put in to deal with potential DDoS type attacks was failing with no reason (failing and never running a job). Once disabled, everything worked as intended.
If you are on that version of XAMPP and using PHP 5.1.1 (I think that's the version that comes with it), I would recommend commenting out some code, from /cron.php:
PHP Code:
///////////////////////////////////////////////////////////////////////////////
//// EXECUTE IF VALID TIME (NOT DDOS)
if($timestamp[0] < strtotime(date('H:i'))) {
write_array_to_file('timestamp', array(strtotime(date('H:i'))) , $cachePath.'/'.$pid);
require('modules/Schedulers/Scheduler.php');
$s = new Scheduler();
$s->checkPendingJobs();
} else {
}
sugar_cleanup(true);
to:
PHP Code:
///////////////////////////////////////////////////////////////////////////////
//// EXECUTE IF VALID TIME (NOT DDOS)
//if($timestamp[0] < strtotime(date('H:i'))) {
write_array_to_file('timestamp', array(strtotime(date('H:i'))) , $cachePath.'/'.$pid);
require('modules/Schedulers/Scheduler.php');
$s = new Scheduler();
$s->checkPendingJobs();
//} else {
//}
sugar_cleanup(true);
Hope this resolves any linger issue!
Bookmarks