diff --git a/code/services/ImmediateQueueHandler.php b/code/services/ImmediateQueueHandler.php index 572e6541..2961c2af 100644 --- a/code/services/ImmediateQueueHandler.php +++ b/code/services/ImmediateQueueHandler.php @@ -25,4 +25,8 @@ class ImmediateQueueHandler { public function startJobOnQueue(QueuedJobDescriptor $job) { $this->queuedJobService->runJob($job->ID); } + + public function scheduleJob(QueuedJobDescriptor $job, $date) { + $this->queuedJobService->runJob($job->ID); + } }