Support Centre

Find articles, help and advice.

 
Welcome, Guest Login

Support Center

BES - Changing the workfile Retention Period

Last Updated: Jul 27, 2018 09:40AM UTC
Question 

Can I change the the retention on workfiles in BES?

Answer

Yes!

Solution 
Workfiles are stored on the BES server in /var/spool/ISS/POWERpack/Integration ($PPWORK/Integrations)
Alert data is written to the workfiles in xml format. The workfiles are then read by BES integrations and daemons to perform tasks such as writing to the database and sending alerts to ASI.

By default, workfiles are cleared away every night at midnight. A program called ISSrmwf is ran on the ppadmin crontab. Below is the following default entry:

00 00 *  *  *   csh  -c  '$PPHOME/bin/issrmwf'

To change the retention on workfiles, we need to amend the crontab entry for ppadmin.
1. Change to the ppadmin user
2. Open the crontab for ppadmin: crontab -e
3.
If you are unfamilar with how crontab times work the following website may be useful: https://crontab.guru/

Example

The following is an example of a 7 day retention on workfiles. This will clear workfiles every Sunday at midnight :

0 0 * * 0 csh -c $PPHOME/bin/ISSrmwf

Contact Us

desk.com@interlinksoftware.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete