LDAP Account Manager

CronRunner
in package

Executes cron jobs.

Table of Contents

$isDryRun  : bool
__construct()  : mixed
Constructor
runGlobalCronJobs()  : void
Runs all global cron actions.
runSingleServerProfileActions()  : void
Runs the actions of a single server profile.
openLdapConnection()  : void
Opens the LDAP connection.
runServerProfileJobs()  : void
Runs the actions of a server profile.
validateServerProfileName()  : void
Validates the server profile.

Properties

Methods

__construct()

Constructor

public __construct(bool $isDryRun) : mixed
Parameters
$isDryRun : bool

dry-run

Return values
mixed

runGlobalCronJobs()

Runs all global cron actions.

public runGlobalCronJobs() : void
Tags
throws
LAMException

error running actions

Return values
void

runSingleServerProfileActions()

Runs the actions of a single server profile.

public runSingleServerProfileActions(string $serverProfileName) : void
Parameters
$serverProfileName : string

profile name

Tags
throws
LAMException

error running actions

Return values
void

openLdapConnection()

Opens the LDAP connection.

private openLdapConnection() : void
Tags
throws
LAMException

unable to connect to LDAP

Return values
void

runServerProfileJobs()

Runs the actions of a server profile.

private runServerProfileJobs(LAMConfig $conf, CronDatabase $cronDatabase, PDO $pdo, string $serverProfileName) : void
Parameters
$conf : LAMConfig

config

$cronDatabase : CronDatabase

cron DB

$pdo : PDO

PDO

$serverProfileName : string

server profile name

Tags
throws
LAMException

error executing job

Return values
void

Search results