You are here

public function JobSchedulerInterface::execute in Job Scheduler 8.2

Same name and namespace in other branches
  1. 8.3 src/JobSchedulerInterface.php \Drupal\job_scheduler\JobSchedulerInterface::execute()

Executes a job.

Parameters

array $job: A $job array as passed into set() or read from job_schedule table.

Throws

\Exception Exceptions thrown by code called by this method are passed on.

1 method overrides JobSchedulerInterface::execute()
JobScheduler::execute in src/JobScheduler.php
Executes a job.

File

src/JobSchedulerInterface.php, line 102

Class

JobSchedulerInterface
Provides an interface defining a job scheduler manager.

Namespace

Drupal\job_scheduler

Code

public function execute(array $job);