you could get the job to fail using something like
if datepart(dw,getdate()) != 1
RAISERROR (N'Error Incorrect Day', 16, 1,N'number',5)
this would fail on ever day but 1 and not proceed to the next step, unless you specify it to do something on failure i.e go to a dummy last step and exit cleanly, it really depends on what you want to do
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.