Invoking the collect-support-data tool as a recurring task
To automatically invoke collect-support-data on a regular basis, create and configure a recurring task.
-
Admin console
-
dsconfig
Use the administrative console
Steps
-
Go to System > Recurring Tasks.
-
In the New Recurring Task list, select Collect Support Data Recurring Task.
-
In the Name field, enter a name for the recurring task.
-
In the Output Directory field, enter the path of the directory in which support data archive files will be placed.
-
Do at least one of the following:
-
In the Retain Previous Support Data Archive Count field, enter the number of previous support data archives that PingAuthorize Server should preserve after generating a new archive.
-
In the Retain Previous Support Data Archive Age field, enter the minimum age of previous support data archives that PingAuthorize Server should preserve after generating a new archive. Values for this property should consist of an integer followed by a time unit. For example, a value of
1wspecifies that PingAuthorize Server should preserve support data archives for one week.
-
-
Configure the rest of the recurring task to meet your business needs.
-
Click Save.
Use dsconfig
Steps
-
Run
dsconfigwith thecreate-recurring-tasksubcommand and the following options and parameters:<PingAuthorize>/bin/dsconfig create-recurring-task \ --task-name <your-task-name> \ --type collect-support-data \ --set output-directory:<your-directory-path> \ --set retain-previous-support-data-archive-count:<count>
You must include at least one of the following parameters in your command:
-
retain-previous-support-data-archive-count: Specifies the number of previous support data archives that PingAuthorize Server should preserve after generating a new archive. -
retain-previous-support-data-archive-age: Specifies the minimum age of previous support data archives that PingAuthorize Server should preserve after generating a new archive. Values for this property should consist of an integer followed by a time unit. For example, a value of1wspecifies that PingAuthorize Server should preserve support data archives for one week.
-