DBPurgeTool can be automated

DBPurgeTool can be automated

0 Votes

Hello,

When running the DB Purge tool to delete subscriptions or audit data, it will be prompted for a username and password.

=> It isn't possible to launch it automatically (through a schedule task for example).

Is it possible to change this tool so that it can be automated ?

Best regards,

PO

2 Comments
RedTail72 Contributor.
Contributor.

You can add properties to your config.properties file to allow this to happen.  They are csaAdminUser and csaAdminPassword.  This isn't very well documented, but it will allow you to run it without being prompted for the credentials.  Just be sure to encrypt the password before storing it in the file.

Micro Focus Contributor
Micro Focus Contributor
Status changed to: Waiting for Votes
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.