Test your fix scripts to ensure they install or update applications as
expected.
Avant de commencer
Role required: admin
Pourquoi et quand exécuter cette tâche
Fix scripts add, update, and delete data, including rules, scripts, and property
settings.
Remarque : Do not test fix scripts on production instances.
Procédure
-
Open the fix script record.
-
Review the code design to ensure that it can run more than once on the same system without causing damage.
For example, you may write a fix script that adds a role to a property by default. Design the script so that it can run multiple times on the same system without overwriting the existing data, even if it is not
necessary to run the script again after the initial installation.
-
Click the Run Fix Script related link.
Tests enforce the Unloadable option.
-
Confirm how to run the script.
| Option | Description |
|---|
| Proceed in Background |
Use this option for long-running scripts, or if you do not know the
expected execution time. |
| Proceed |
Use this option to run the script immediately and display the
results in a confirmation window. |
-
Review the results from the Progress Workers related list, and make any necessary changes.
-
To manually stop a running fix script:
-
From the Progress Workers related list, select a worker in the Running state.
-
Select the Cancel job related link.