I would like to be notified by email when certain Agent Procedures are run. I just want a simple email in the format:
<ProcedureName> was used by <AdminName>
I know I can just include a "send email" line at the bottom of the procedure, but I haven't been able to find the right variables to give me the current procedure name and the name of the admin running the procedure.
#scriptIdTab.scriptName# was used by #adminDefaults.adminName#
Thanks Dan. Works perfectly!