Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Delete - executeRetentionPolicy


Delete - executeRetentionPolicy

Description :

This command marks for deletion from the BMC BladeLogic database old job runs and job and depot objects automatically created during patching and auto-remediation operations.

Before you run this command, you need to define a retention policy by:

  • Enabling the retention policy utility. To do this start the Application Server Administration console (blasadmin) and issue the following command: set cleanup EnableRetentionPolicy true.
  • Optionally setting the retention period for job runs. By default the retention period is 0, meaning do not delete any job runs (disable the retention period). However, you can set the retention period to another number of days via the BMC BladeLogic GUI.
  • Setting the retention period for automatically generated objects.

For more information, see Marking data for deletion in the BMC Server Automation online documentation.

Return type : java.lang.Object

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*