# Custom alert scripts for alert escalation

You can write a script that executes custom commands for alert escalation.

To send alert notifications using Custom Alert Scripts, you must define the Root Path on the Management Server where custom alert scripts are executed. The default location is `<installation directory>/data/notification`. All custom scripts must be stored in the same root path that is defined in the properties of the Management Server that controls the Shared Domain.

The example notification script `notify.bat` in Windows and `notify.sh` in Linux can be edited for your own use. In Linux, the sgadmin user needs read, write, and execute permissions in the script’s directory.