std.CleanUpCache

This job cleans the content of the CACHE.

1. Input Parameters

Name Type Required Description

[Flags]

INT

No

Priority (default value 2):
0 = files are deleted until minimal cache size is reached
1 = files are deleted that have been in the cache longer than the maximum days
2 = combination of 0 and 1: files are only deleted if they have been in the cache longer than the maximum days, until the minimum cache size is reached
8 = files are deleted until the minimum document count is reached (see Low)

High

INT

Yes

Maximum cache size in MB; if this value is exceeded, the CACHE is cleaned.

Low

INT

Yes

Minimum cache size in MB; for Flags = 8: minimum document count in thousands.

Days

INT

Yes

Number of days that documents should be stored in the cache at most.

[ExtendDiagnostic]

INT

No

0 = only non-deletable files are logged (default)
1 = all deleted files are logged

2. Return Value

(INT): 0 = Job successful, otherwise error code.