This script has been deprecated, and will be removed in a future release of Appian. As the Appian engines checkpoint, they create new .kdb files with more recent copies of the engine's data. The old .kdb files are then compressed and moved to the services/data/archived/
directory. The system will automatically delete the oldest .kdb files when moving .kdb files to this directory. Therefore, this script is no longer needed and will simply print a deprecation message when run. See Configuring Checkpointing for details.
For information about the CleanupArchives script, see the Appian 20.1 documentation
CleanupArchives Script [Deprecated]