Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevad authored Aug 23, 2017
1 parent 15f5a10 commit 36ec3d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CronCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public function actionDaemon()
{
if (!$this->enabled) {
CronService::log("Cron command processor is disabled", CLogger::LEVEL_WARNING);
return;
}

$this->_service->loadTasks();
Expand Down Expand Up @@ -73,6 +74,7 @@ public function actionRun($id)
{
if (!$this->enabled) {
CronService::log("Cron command processor is disabled", CLogger::LEVEL_WARNING);
return;
}

CronProcess::createById($id, $this->_service)->run();
Expand Down

0 comments on commit 36ec3d4

Please sign in to comment.