diff --git a/src/UltimateCron.php b/src/UltimateCron.php
index f8c9d68..62f6479 100644
--- a/src/UltimateCron.php
+++ b/src/UltimateCron.php
@@ -2,6 +2,7 @@
 
 namespace Drupal\ultimate_cron;
 
+use Drupal\Component\Datetime\TimeInterface;
 use Drupal\Core\Config\ConfigFactoryInterface;
 use Drupal\Core\Cron;
 use Drupal\Core\Extension\ModuleHandlerInterface;
@@ -38,11 +39,15 @@ class UltimateCron extends Cron {
    *    The account switching service.
    * @param \Psr\Log\LoggerInterface $logger
    *   A logger instance.
-   * @param \Drupal\Core\Queue\QueueWorkerManagerInterface
+   * @param \Drupal\Core\Queue\QueueWorkerManagerInterface $queue_manager
    *   The queue plugin manager.
+   * @param \Drupal\Component\Datetime\TimeInterface $time
+   *   The time service.
+   * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
+   *   The config factory.
    */
-  public function __construct(ModuleHandlerInterface $module_handler, LockBackendInterface $lock, QueueFactory $queue_factory, StateInterface $state, AccountSwitcherInterface $account_switcher, LoggerInterface $logger, QueueWorkerManagerInterface $queue_manager, ConfigFactoryInterface $config_factory) {
-    parent::__construct($module_handler, $lock, $queue_factory, $state, $account_switcher, $logger, $queue_manager);
+  public function __construct(ModuleHandlerInterface $module_handler, LockBackendInterface $lock, QueueFactory $queue_factory, StateInterface $state, AccountSwitcherInterface $account_switcher, LoggerInterface $logger, QueueWorkerManagerInterface $queue_manager, TimeInterface $time = NULL, ConfigFactoryInterface $config_factory) {
+    parent::__construct($module_handler, $lock, $queue_factory, $state, $account_switcher, $logger, $queue_manager, $time);
     $this->configFactory = $config_factory;
   }
 
