If you select the Execute an OS command action:
Editing Alert Actions — Alert Action: Execute an OS Command
The command can be a program utility or a script shell, and can have arguments.