@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | $task->setProcessCount($count = ($task->getProcessCount() + 1)); |
334 | 334 | |
335 | 335 | $cmd = $this->getDbConnection()->createCommand( |
336 | - "UPDATE {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL" |
|
336 | + "update {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL" |
|
337 | 337 | ); |
338 | 338 | $cmd->bindValue(":count", $count, PDO::PARAM_STR); |
339 | 339 | $cmd->bindValue(":time", $time, PDO::PARAM_STR); |
@@ -604,7 +604,7 @@ discard block |
||
604 | 604 | } |
605 | 605 | |
606 | 606 | $cmd = $this->getDbConnection()->createCommand( |
607 | - "UPDATE {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, username=:username, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL" |
|
607 | + "update {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, username=:username, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL" |
|
608 | 608 | ); |
609 | 609 | $cmd->bindValue(":schedule", $schedule, PDO::PARAM_STR); |
610 | 610 | $cmd->bindValue(":task", $taskExec = $task->getTask(), PDO::PARAM_STR); |