All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Protected Attributes
ExportCleanupJob Class Reference
Inheritance diagram for ExportCleanupJob:
BaseJob

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 ()
 

Static Protected Attributes

static $pageSize = 200
 
- Static Protected Attributes inherited from BaseJob
static $loadJobQueueOnCleanupAndFallback = false
 

Additional Inherited Members

- Data Fields inherited from BaseJob
const JOB_QUEUE_PAGE_SIZE = 100
 
- Protected Attributes inherited from BaseJob
 $errorMessage
 

Detailed Description

A job for removing old export models from database.

Definition at line 40 of file ExportCleanupJob.php.

Member Function Documentation

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

Definition at line 47 of file ExportCleanupJob.php.

static getType ( )
static
Returns
The type of the NotificationRules

Definition at line 55 of file ExportCleanupJob.php.

run ( )

Get all exportItems where the modifiedDateTime was more than 1 week ago. Then delete these exports and related files(and ). (non-PHPdoc)

See Also
BaseJob::run()

Definition at line 71 of file ExportCleanupJob.php.


The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:10:46