Hi experts , I am in need your help again, I have a SQL agent job running at random times, but now i have to implement a condition that if it is between 2pm to 10pm then I have to stop the job from running in other words dont let the job to start. is there an easy way to do this Thanks,
its an automationm process followed by many different processes, to reduce the contention on the server we plan that the job should not start between those specific times. Thanks
Yes you can do it by using SP_START_JOB & SP_STOP_JOB statements using a query based steps in the SQLAgent jobs category.