Wiki source code of PurgeJob
Version 9.2 by Outhman Moustaghfir on 2022/06/13 13:18
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Introduction = | ||
2 | |||
3 | 'PurgeJob' is a connector allowing iXPath admins to delete all old jobs from the database in order to make it more available and performant. | ||
4 | |||
5 | The main aim to have this connector in hand is to handle storage issues and discard old jobs. | ||
6 | |||
7 | This presentation is going to take you through : | ||
8 | |||
9 | 1. Parameters used. | ||
10 | 1. How to use the 'PurgeJob' connector. | ||
11 | |||
12 | [[image:purgejob.PNG]] | ||
13 | |||
14 | = Parameters = | ||
15 | |||
16 | 'PurgeJob' connector involves 2 parameters : | ||
17 | |||
18 | 1. retentionJob: the number of days. it refers to how old the jobs wanted to be deleted. eg: If we take retentionJob=30 days, the connector will remove all jobs older than 30 days. | ||
19 | 1. stopTime: the number of minutes to stop the current 'PurgeJob'. eg: if we set stopTime = 60 minutes and 'PurgeJob' has been triggered at 1:00 pm, it will be stopped at 2:00 pm. | ||
20 | |||
21 | = Use = | ||
22 | |||
23 | [[image:Capture.PNG||height="317" width="344"]] | ||
24 | |||
25 | The structure of 'PurgeJob' helps its users to proceed with the connector not only in the current environment but also in the sub-environments. | ||
26 | |||
27 | eg : if there is an environment (EnvID = 1) which has 2 sub-environments ( EnvID = 2 and EnvID = 3), and we start 'PurgeJob' in EnvID = 1, the connector will be automatically executed in environments 1,2 and 3. | ||
28 | |||
29 | |||
30 | |||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 |