Documentation

ProcessScheduler
in package
uses Log

FinalYes

Class to manage and schedule background tasks // {{{

Table of Contents

Methods

__construct()  : mixed
Creates a new ProcessScheduler
add()  : mixed
Add a Process to the queue
isProcessRunning()  : bool
Checks if there are running processes of a certain class
schedule()  : mixed
Run scheduler

Methods

isProcessRunning()

Checks if there are running processes of a certain class

public isProcessRunning(string $classname) : bool
Parameters
$classname : string

a class constant

Return values
bool

        
On this page

Search results