FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
Maintenance agent

About

This agent performs a variety of maintenance and repair functions.

Supported actions

Commandline flagDescription
-aRun all non slow maintenance operations
-ARun all maintenance operations
-DVacuum Analyze the database
-FValidate folder contents
-gDelete orphan gold files
-hPrint help (usage)
-NNormalize the (internal) priority numbers
-pVerify file permissions (report only)
-PVerify and fix file permissions
-RRemove uploads with no pfiles
-TRemove orphaned temp tables
-LRemove orphaned log files from file systems
-UProcess expired uploads (slow)
-ZRemove orphaned files from the repository (slow)
-iInitialize the database, then exit
-IReindexing of database (This activity may take 5-10 mins. Execute only when system is not in use)
-vverbose (turns on debugging output)
-Vprint the version info, then exit
-c SYSCONFDIRSpecify the directory for the system configuration.

Anyone with execute access can run this agent. This makes it easy to put in a cron job. If run from the FOSSology UI, you must be an admin.

Agent source