![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
This agent performs a variety of maintenance and repair functions.
| Commandline flag | Description |
|---|---|
| -a | Run all non slow maintenance operations |
| -A | Run all maintenance operations |
| -D | Vacuum Analyze the database |
| -F | Validate folder contents |
| -g | Delete orphan gold files |
| -h | Print help (usage) |
| -N | Normalize the (internal) priority numbers |
| -p | Verify file permissions (report only) |
| -P | Verify and fix file permissions |
| -R | Remove uploads with no pfiles |
| -t # | Remove personal access tokens expired # days ago. |
| -T | Remove orphaned temp tables |
| -L | Remove orphaned log files from file systems |
| -o <yyyy-mm-dd> | Remove gold files older than given date (slow) |
| -l # | Remove log files older than given date |
| -U | Process expired uploads (slow) |
| -Z | Remove orphaned files from the repository (slow) |
| -i | Initialize the database, then exit |
| -I | Reindexing of database (This activity may take 5-10 mins. Execute only when system is not in use) |
| -v | verbose (turns on debugging output) |
| -V | print the version info, then exit |
| -c SYSCONFDIR | Specify 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.