Recently we found there is a job in one of our testing server runs about 3 days and it is still running.
Is there a script that I can use to check long run sql agent jobs in all our sql servers, and better yet to notify me if there is a job running for example more than 6 hours.
Thanks