Enable/Disable Cleanup Policy

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

This topic outlines how to enable/disable a cleanup policy. By default, newly created cleanup policies are disabled. You must activate a policy before it can execute automatically according to the schedule or be triggered manually.

Note

We recommend that you first perform a dry run and review its results before you enable a policy. This helps prevent unintended deletion. For more information on performing a dry run, refer to Perform Dry Run Cleanup Policy

The following actions can be performed on a disabled policy:

To Enable or Disable the Cleanup policy, follow these steps:

As per the User persona, you can work with the contexts as described below:

  1. In the Retention Policies page, click Cleanup.

    CleanupEnableDisable.gif
  2. From the Policies tab, under Policies, locate the policy you want to enable/disable, and then toggle the slider enabledpolicy.png under the Active column.

    Once enabled, the policy will run automatically based on the schedule you set during creation. You can also run it manually, as detailed in the Run Cleanup Policy Manually.