3
0
Fork 0

54421 В планировщике заданий moderator со временем новые задания уползают с графика

This commit is contained in:
Александр Рыбкин 2021-01-15 13:20:39 +03:00
parent 192c6fe4b2
commit 923acb86f1
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class MoleTask extends \yii\db\ActiveRecord
$model->completed = 0; $model->completed = 0;
$model->dateStart = null; $model->dateStart = null;
$model->dateEnd = 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(); $model->save();
} }
} }