JobsCommand: explicitly load with ID

fixes #1677
This commit is contained in:
Thomas Gelf 2018-10-17 09:05:20 +02:00
parent a77d87910d
commit 4c3c81c275
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}