Lotus Domino script snippet: Drive free space notification

Lotus Domino script snippet: Drive free space notification

Send email notification when the available free space of a specified drive falls below a certain percentage

Create profile document with following fields:
cfg_Drive (Text, Drive letter)
cfg_FreePerc (Number, Percentage)
cfg_MailFrom (Text, Email Sender)
cfg_Recipients (Names, Send email to)
cfg_MailSubject (Text Mail subject)

Add following code to an agent: