diff --git a/framework/Util/Cron/TDbCronModule.php b/framework/Util/Cron/TDbCronModule.php index 5407999ed..103cd40f9 100644 --- a/framework/Util/Cron/TDbCronModule.php +++ b/framework/Util/Cron/TDbCronModule.php @@ -192,7 +192,7 @@ protected function ensureTasks($initConfigTasks = true) $this->ensureTable(); $this->_taskRows = $this->_tasks = []; $cmd = $this->getDbConnection()->createCommand( - "SELECT * FROM {$this->_tableName} WHERE active IS NOT NULL" + "SELECT * FROM {$this->_tableName} WHERE active IS NOT NULL ORDER BY tabuid" ); $results = $cmd->query();