You are here

public function JobSchedulerInterface::perform in Job Scheduler 8.3

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

Perform periodic jobs.

Parameters

string $name: (optional) Name of the schedule to perform. Defaults to null.

int $limit: (optional) The number of jobs to perform. Defaults to 200.

int $time: (optional) How much time scheduler should spend on processing jobs in seconds. Defaults to 30.

Return value

array Result of perform periodic jobs.

Throws

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

1 method overrides JobSchedulerInterface::perform()
JobScheduler::perform in src/JobScheduler.php
Perform periodic jobs.

File

src/JobSchedulerInterface.php, line 150

Class

JobSchedulerInterface
Provides an interface defining a job scheduler manager.

Namespace

Drupal\job_scheduler

Code

public function perform($name = NULL, $limit = 200, $time = 30);