The purpose of the job is refreshing the tab from the server in the excel. When I try to stop it manually it hung up there and shows status "Executing"...and not doing anything for hours. That's the reason I need a T-SQL code or something to stop the job with that like if it ran for more than 10 minutes it will stop automatically.
Please help me out with this. I am really looking for a code or something that will help me stop the job.