Change the data purger schedule

To reschedule the deletion of old data, change the time in which the data purger deletes the old data.

  1. Edit EGO_TOP/eservice/esc/conf/services/purger_service.xml.
  2. Navigate to <ego:Command> with the ‑t parameter in the purger script.
    • In UNIX, this is

      <ego:Command> ... .../purger.sh -t ...

    • In Windows, this is

      <ego:Command> ... ...\purger.bat -t ...

    By default, the data purger is scheduled to delete old data at 12:30am every day.

  3. Change the ‑t parameter in the data purger script to the new time (‑t new_time).

    You can change the data purger schedule to a specific daily time, or at regular time intervals, in hours, from when the purger service first starts up.

    For example, to change the schedule of the data purger:

    • To delete old data at 11:15pm every day:

      <ego:Command> ... .../purger... ‑t 23:15
    • To delete old data every 12 hours from when the purger service first starts up:

      <ego:Command> ... .../purger... ‑t *[12]
  4. Stop the purger service.
  5. In the command console, restart EGO on the master host to activate these changes.

    egosh ego restart master_host_name