Delete - cleanupRepeater
Delete - cleanupRepeater
Description :
This command cleans up files from the staging directory of a repeater server.
This command removes old files until the desired max cache size is reached or until files remain that match the retention time criteria.
This command does not delete the lost + found directory. Instead, it preserves this directory and any files contained in the directory. However for other directories, this command deletes the directory and any files contained in the directory.
Return type : java.lang.Object
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
serverName | String | Name of the repeater server. |
retentionTime | Integer | Retention time in days. Retention time means the minimum time that must have elapsed since the last access time of a file, before that file can be considered for deletion. The minimum retention time is 3 days. |
maxCacheSize | Integer | Max cache size in MB. |
Example
The following example shows how to to clean up the staging directory on a repeater server named repeater123.
Script
blcli Delete cleanupRepeater repeater123 10 5