Documentation

Vtiger_IntegrationPLGusRegon_Cron extends CronHandler
in package

Integration GUS BIR1 - Baza Internetowa REGON 1 cron class.

Table of Contents

$cronTask  : Cron
$logs  : string
$config  : array<string|int, mixed>
__construct()  : mixed
Construct.
checkTimeout()  : bool
Check cron task timeout.
getTaskLog()  : string
Get cron task logs.
loadConfig()  : void
Load cron configuration.
process()  : void
Main function to execute task.
updateLastActionTime()  : void
Update cron task last action time.

Properties

$config

private array<string|int, mixed> $config = ['moduleName' => 'Leads', 'fieldName' => 'registration_number_2', 'defaultValues' => []]

Default configuration for data download

Methods

__construct()

Construct.

public __construct(Cron $cronTask) : mixed
Parameters
$cronTask : Cron
Return values
mixed

checkTimeout()

Check cron task timeout.

public checkTimeout() : bool
Return values
bool

getTaskLog()

Get cron task logs.

public getTaskLog() : string
Return values
string

updateLastActionTime()

Update cron task last action time.

public updateLastActionTime() : void
Return values
void

        

Search results