TimedJob¶
-
class
OC\BackgroundJob\
TimedJob
¶ - Class QueuedJobcreate 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: Parameters: - $interval (int)
-
public
OC\BackgroundJob\TimedJob::
execute
($jobList, $logger=null)¶ - run the job if
Source: Parameters: - $jobList (
OCP\BackgroundJob\IJobList
) - $logger (
OCP\ILogger
| null)
- $jobList (