54421 В планировщике заданий moderator со временем новые задания уползают с графика
This commit is contained in:
parent
192c6fe4b2
commit
923acb86f1
|
@ -108,7 +108,7 @@ class MoleTask extends \yii\db\ActiveRecord
|
|||
$model->completed = 0;
|
||||
$model->dateStart = null;
|
||||
$model->dateEnd = null;
|
||||
$model->dateAdd = date('Y-m-d H:i:s', (strtotime("+$this->period seconds")));
|
||||
$model->dateAdd = date('Y-m-d H:i:s', (strtotime($this->dateAdd . " +$this->period seconds")));
|
||||
$model->save();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue