Cleaning up data

The framework provides parameters to define regular automated clean-up cycles to get rid of old data, and thus spare resources.

About this task

Define a clean-up schedule on every day of the week at 00:00 using the appropriate parameters.

Procedure

  1. In the file <PathToYourApplication>/config/config.cfg, find the ite.cleanup.schedule.dayOfWeek parameter description
  2. To run the clean-up on every day of the week, set the parameter as follows: ite.cleanup.schedule.dayOfWeek=*

  3. In the file <PathToYourApplication>/config/config.cfg, find the ite.cleanup.schedule.hour parameter description

  4. To run the clean-up at 00:00, set the parameter as follows: ite.cleanup.schedule.hour=0

  5. In the file <PathToYourApplication>/config/config.cfg, find the ite.cleanup.schedule.minute parameter description

  6. To run the clean-up at 00:00, set the parameter as follows: ite.cleanup.schedule.minute=0