Home > Class Reference > %SYS namespace > %SYS.Task.ResourceCleanup
Private  Storage   

%SYS.Task.ResourceCleanup


class %SYS.Task.ResourceCleanup extends Definition

Cleanup resources registered for jobs that have since exited

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1


Summary


Properties
%RunDate %RunTime

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
GetCollectionType GetPropertyName GetSettings GetTaskName
OnSubmit OnTask SetSettings


Parameters


• parameter TaskName = "ResourceCleanup";
This defines the user-visible name of this task. It is defined in the subclasses.

Methods


• method OnTask() as %Status
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.
In order to execute a real task, override this method in a subclass.