TimedJob

class OC\BackgroundJob\TimedJob
Class QueuedJob
create a background job that is to be executed at an interval
Source:lib/private/BackgroundJob/TimedJob.php#39
Parent:OC\BackgroundJob\Job

Properties

protected static property OC\BackgroundJob\TimedJob::$interval
Source:lib/private/BackgroundJob/TimedJob.php#40

Methods

public OC\BackgroundJob\TimedJob::setInterval($interval)
set the interval for the job
Source:

lib/private/BackgroundJob/TimedJob.php#47

Parameters:
  • $interval (int)
public OC\BackgroundJob\TimedJob::execute($jobList, $logger=null)
run the job if
Source:

lib/private/BackgroundJob/TimedJob.php#57

Parameters: