How to use Event Handlers in Plesk?
- Log into Plesk.
- Navigate to Tools & Settings > Event Manager and click Add Event Handler.
- Adjust the required event actions according to the documentation page and press OK button.
Note: A specified command would be executed on behalf of a selected User when the event is handled.