I sometimes do reverse shells on metasploit but I'm not sure when my target will actually execute the payload. I would like an alarm of some sort to tell me when he does. this can easily be done in a script.
Is there a way for metasploit to execute a script once he connects to my terminal? I am using that "exploit/multi/handler" thing for the incoming connection.