Delete - cleanupAgent

Delete - cleanupAgent

Description :

This command cleans up old temporary files on a target server (agent). This includes old files that were created by Deploy Jobs in the Transactions directory (especially rollback files) and in the Staging directory.

Return type : java.lang.Object

Command Input :

Variable Name

Variable Type

Description

serverName

String

Name of the target 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 access time in UNIX is the atime, the time when a file was last accessed. The minimum valid value for the retention time is 3 days.

Example

The following example shows how to to clean up temporary files on a target server named server123.

Script

blcli Delete cleanupAgent server123 10 

Was this page helpful? Yes No Submitting... Thank you

Comments