Setting the run command as a threshold action using the management console
A threshold trigger can be set to automatically run a command or script when the volume or folder reaches the threshold limit. You can set the command trigger when creating or editing a directory quota template.
Review command scripts for supported command types and file extensions.
Procedure