mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
N°3234 - Notify on expiration not sending notifications
This commit is contained in:
@@ -223,8 +223,9 @@ function CronExec($oP, $aProcesses, $bVerbose, $bDebug=false)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$oNow = new DateTime();
|
$oNow = new DateTime();
|
||||||
|
//don't recalculate next occurence if next_run_date is
|
||||||
if (($oTask->Get('status') != 'active')
|
if (($oTask->Get('status') != 'active')
|
||||||
|| ($oTask->Get('next_run_date') > $oNow->format('Y-m-d H:i:s')))
|
|| ($oTask->Get('next_run_date') > date('Y-m-d H:i:s',$iTimeLimit)))
|
||||||
{
|
{
|
||||||
if ($bVerbose)
|
if ($bVerbose)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user