@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | $task->setProcessCount($count = ($task->getProcessCount() + 1)); |
302 | 302 | |
303 | 303 | $cmd = $this->getDbConnection()->createCommand( |
304 | - "UPDATE {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL" |
|
304 | + "update {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL" |
|
305 | 305 | ); |
306 | 306 | $cmd->bindValue(":count", $count, PDO::PARAM_STR); |
307 | 307 | $cmd->bindValue(":time", $time, PDO::PARAM_STR); |
@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | } |
541 | 541 | |
542 | 542 | $cmd = $this->getDbConnection()->createCommand( |
543 | - "UPDATE {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, userid=:userid, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL" |
|
543 | + "update {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, userid=:userid, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL" |
|
544 | 544 | ); |
545 | 545 | $cmd->bindValue(":schedule", $schedule = $task->getSchedule(), PDO::PARAM_STR); |
546 | 546 | $cmd->bindValue(":task", $taskExec = $task->getTask(), PDO::PARAM_STR); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | $count = $cron->clearCronLog($this->getTimePeriod()); |
50 | 50 | |
51 | 51 | if ($cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) { |
52 | - $cron->getOutputWriter()->writeLine("Cleared {$count} Cron Task Logs", TShellWriter::GREEN); |
|
52 | + $cron->getOutputWriter()->writeLine("cleared {$count} Cron Task Logs", TShellWriter::GREEN); |
|
53 | 53 | } |
54 | 54 | } elseif (is_object($cron) && $cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) { |
55 | 55 | $cron->getOutputWriter()->writeLine("No DB Cron Module to clean", TShellWriter::RED); |