All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
JobLogCleanupJob Class Reference
Inheritance diagram for JobLogCleanupJob:

Public Member Functions

 run ()
- Public Member Functions inherited from BaseJob
 run ()
 getErrorMessage ()
 setMessageLogger (MessageLogger $messageLogger)
 getMessageLogger ()

Static Public Member Functions

static getDisplayName ()
static getType ()
static getRecommendedRunFrequencyContent ()
- Static Public Member Functions inherited from BaseJob
static shouldLoadJobQueueOnCleanupAndFallback ()
static getDisplayName ()
static getType ()
static resolveJobsForQueue ()
static loadJobQueue ()
static getRecommendedRunFrequencyContent ()
static getDefaultMessageLogger ()
static getRunTimeThresholdInSeconds ()
static showInJobManagerToRunManually ()
static jobExecutionInQueueDependsOnTime ()

Additional Inherited Members

- Data Fields inherited from BaseJob
- Protected Attributes inherited from BaseJob
- Static Protected Attributes inherited from BaseJob
static $loadJobQueueOnCleanupAndFallback = false

Detailed Description

A job for removing old job logs.

Definition at line 40 of file JobLogCleanupJob.php.

Member Function Documentation

static getDisplayName ( )
Translated label that describes this job type.

Definition at line 45 of file JobLogCleanupJob.php.

static getType ( )
The type of the NotificationRules

Definition at line 53 of file JobLogCleanupJob.php.

run ( )

Deletes all job logs where the modifiedDateTime was more than 1 week ago. Runs operation in bulk to improve performance when large jobLogs are present.

See Also

Definition at line 69 of file JobLogCleanupJob.php.

The documentation for this class was generated from the following file:
Generated on Wed Jun 3 2020 07:10:50