Chapter 6: Automating Tasks Using Schedules and Events
Understanding event
handlers
Event handlers execute on a separate connection from the action
that triggered the event, and so do not interact with client applications.
They execute with the permissions of the creator of the event.