purge_not_seens.php
Posted December 1st, 2008 by hector
This script deletes all references to systems not seen during a certain period of time in the a FreeNAC system.
The period of time is defined by the config variable delete_not_seen, which uses months as units of time.
For each system which has not been seen during the past delete_not_seen months, a cascade delete if performed, removing thus all references to this device from all tables in a FreeNAC system.
- Printer-friendly version
- Login or register to post comments