BUG 5737 The cron.php script should write something ... solved
- The cron.php script should write something in the shared/log/cron.log file when a new case started or an event is executed
This commit is contained in:
@@ -320,6 +320,10 @@ function executeScheduledCases($sNow=null){
|
||||
$sNow = isset($sNow)? $sNow: date('Y-m-d H:i:s');
|
||||
$oCaseScheduler = new CaseScheduler;
|
||||
$oCaseScheduler->caseSchedulerCron($sNow);
|
||||
$log = array();
|
||||
foreach ($log as $value){
|
||||
saveLog('executeScheduledCases', 'action', "OK Case# $value");
|
||||
}
|
||||
setExecutionResultMessage('DONE');
|
||||
} catch(Exception $oError){
|
||||
setExecutionResultMessage('WITH ERRORS', 'error');
|
||||
|
||||
Reference in New Issue
Block a user