InterSystems IRIS for Health 2020.4Opens in a new window > Class Reference > %SYS namespace > %SYS.Task.CleanSourceJournal

%SYS.Task.CleanSourceJournal

class %SYS.Task.CleanSourceJournal extends %SYS.Task.Definition

This task removes entries in the source journal global that are older than the configured value.
It is normally run nightly.

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter TaskName = CleanSourceJournal;
Inherited description: This defines the user-visible name of this task. It is defined in the subclasses.

Properties (Including Private)

property KeepDays as %Integer [ InitialExpression = 60 ];
Default purge of 2 months
Property methods: KeepDaysDisplayToLogical(), KeepDaysGet(), KeepDaysIsValid(), KeepDaysLogicalToDisplay(), KeepDaysNormalize(), KeepDaysSet()

Methods (Including Private)

classmethod KeepDaysIsValid(KeepDays As %Integer) as %Status [ Language = objectscript ]
Validate KeepDays value
method OnTask() as %Status [ Language = objectscript ]
This method is responsible for executing the task.
At the scheduled time, the Task Manager creates an instance of this object, sets any property values using the stored "settings" for the task, and then invokes this method to execute the task.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window