krn.CheckDiskSpace

This job returns information about the capacity of the specified drive.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

Disk

STRING

Yes

Drive name:
ROOT = drive of the server directory
DATA = drive of the work server directory
LOG = drive of the log server directory

MinSpace

INT

Yes

Minimum free space in MB. If this value is exceeded, the administrator will be notified by email. Empty = value from registry.

InformAdmin

BOOLEAN

Yes

1 = administrator is informed by email; 0 = no information

2. Output Parameters

Name Type Dependency Description

Total

INT64

Drive size in MB

Free

INT64

Free space in MB

Min

INT64

Minimum free space in MB

3. Return Value

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