JobLogCleanupJob Class Reference

Inheritance diagram for JobLogCleanupJob:
BaseJob

Public Member Functions

 run ()

Static Public Member Functions

static getDisplayName ()
static getType ()
static getRecommendedRunFrequencyContent ()

Detailed Description

A job for removing old job logs.

Definition at line 40 of file JobLogCleanupJob.php.


Member Function Documentation

static getDisplayName (  )  [static]
Returns:
Translated label that describes this job type.

Reimplemented from BaseJob.

Definition at line 45 of file JobLogCleanupJob.php.

static getType (  )  [static]
Returns:
The type of the NotificationRules

Reimplemented from BaseJob.

Definition at line 53 of file JobLogCleanupJob.php.

static getRecommendedRunFrequencyContent (  )  [static]
Returns:
string content specifying how often this job should be run as a scheduled task.

Reimplemented from BaseJob.

Definition at line 58 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:
BaseJob::run()

Reimplemented from BaseJob.

Definition at line 69 of file JobLogCleanupJob.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Mar 25 07:10:26 2017