def result = new LogTableIndexChecker().createIndexes()
setEndMessage("Indexes created: $result")
Scheduling the Task
Select the "Enable Schedule" checkbox to ensure the task schedule is activated, then use the pencil icon ("") to specify the time and frequency settings for automated task execution.
Tasks can be scheduled for automatic execution by selecting the "Schedule Enable" option then clicking on the icon;
When the is pressed a window will open titled "Schedule" that can be used to specify the when the report is scheduled to run;
As an example, we can schedule the report to run at 1am every weekday using the following settings;
After clicking on the schedule details will be converted into text form and added against the report parameter "Schedule";
In addition to scheduling when the task is to be run you may need to Edit the task parameters and ensure that all required parameters have been supplied (some tasks have parameters with no default value and until a value is supplied the task will fail if run manually or automatically scheduled).
The task can be run manually from the management console by left click on the context menu of the task, then selecting "Run";
A new window will open titled "Execute Task" will then open (the window will be populated with the default task property values);
Provide a brief description that will be used to describe the purpose of the task in the audit log.
To execute the task click the button.
Tasks can be run manually from the management console by left click on the context menu of the task, then selecting "Run";
A new window will open titled "Execute Task" will then open (the window will be populated with the default task property values for this task (example below);
Provide a brief description that will be used to describe the purpose of the task in the audit log.
Specify the domain that assigned users of the tokens must be members of if the tokens are to be deleted by the task.
If specified, this property will restrict token deletion to tokens that are assigned to users who are members of the selected Unit.
If supplied this parameter specifies that only tokens with the specified Product will be deleted.
Specifies if only inactive tokens are to be deleted when the task is run.
Before manually running the task the system administrator has the opportunity to temporarily replace these default values (the default values will return to their original state after the task has run).
Alternatively, you can provide default values for the task by Editing the task parameters(some tasks have parameters with no default value and until a value is supplied the task will fail if run manually or automatically scheduled).
When you have finished supplying the property settings, the task can be manually run by clicking on the button.