diff --git a/application/clicommands/JobsCommand.php b/application/clicommands/JobsCommand.php index 7848ef34..adddd745 100644 --- a/application/clicommands/JobsCommand.php +++ b/application/clicommands/JobsCommand.php @@ -21,7 +21,7 @@ class JobsCommand extends Command $jobId = $this->params->shift(); if ($jobId) { $this->raiseLimits(); - $job = DirectorJob::load($jobId, $this->db()); + $job = DirectorJob::loadWithAutoIncId($jobId, $this->db()); $job->run(); exit(0); }