Nextcloud PHP API (master)

IParallelAwareJob

Tags
since
27.0.0

Table of Contents

Methods

getAllowParallelRuns()  : bool
setAllowParallelRuns()  : void
Set this to false to prevent two Jobs from the same class from running in parallel

Methods

getAllowParallelRuns()

public getAllowParallelRuns() : bool
Tags
since
27.0.0
Return values
bool

setAllowParallelRuns()

Set this to false to prevent two Jobs from the same class from running in parallel

public setAllowParallelRuns(bool $allow) : void
Parameters
$allow : bool
Tags
since
27.0.0

        
On this page

Search results