I am trying to design a stored proc which would identify all long running sql server jobs
and sent out an alert.
We have several jobs in out production environment.
What things would you consider before designing such a proc.
If there is something out there, I can customise to our environment.