For each week a sensor remains online various system logs will grow in size in addition to the log files specific to the Pulse related services. Whereas there is no method presently in use to purge (clean) log files, a sensor being online for a lengthy period of time (i.e. year or more) could inevitably encounter an issue with a lack of drive space leading to services stopping or the sensor abending.
The following script when run as a Script/Task within Pulse on weekly basis has proven useful to remove log files and to ensure the sensor does not encounter an issue involving a lack of drive space. Additionally the sensor will be rebooted upon conclusion of the script running.
© 2022 Outpost24® All rights reserved. This document may only be redistributed unedited and unaltered. This document may be cited and referenced only if clearly crediting Outpost24® and this document as the source. Any other reproduction and redistribution in print or electronically is strictly prohibited without explicit permission.
Outpost24® and OUTSCAN™ are trademarks of Outpost24® in Sweden and other countries.