Disabling Jobs
Posted: Mon Jan 28, 2008 12:25 pm
Our jobs tend to have a lot of parameters, from file locations to passwords all of which need to entered when we schedule a job in production (because the defaults are usually the values we use in development and that's the way we want it).
After we schedule the job, we don't have to worry about entering those parameters again until we make changes.
I'm finding that there are times we would like to "disable" our jobs and not have them run at all. For instance, every month we have a "maintenance weekend" where all the systems are rebooted, serviced, etc. That often affects our jobs, as sometimes a job is running when a system is turned off and therefore the job gets stuck.
So I'm wondering if there is a way to disable jobs from running, preferably a universal setting that would prevent all our jobs from running for a few days.
I really don't want to unschedule the jobs, because then I have to reschedule them all and re-enter the parameters.
The only other option I can think of is to re-schedule the jobs and leave Friday, Saturday, Sunday off the schedule and then after the weekend passes, reschedule them for all 7 days again (rescheduling doesn't seem to require you to re-enter parameters).
After we schedule the job, we don't have to worry about entering those parameters again until we make changes.
I'm finding that there are times we would like to "disable" our jobs and not have them run at all. For instance, every month we have a "maintenance weekend" where all the systems are rebooted, serviced, etc. That often affects our jobs, as sometimes a job is running when a system is turned off and therefore the job gets stuck.
So I'm wondering if there is a way to disable jobs from running, preferably a universal setting that would prevent all our jobs from running for a few days.
I really don't want to unschedule the jobs, because then I have to reschedule them all and re-enter the parameters.
The only other option I can think of is to re-schedule the jobs and leave Friday, Saturday, Sunday off the schedule and then after the weekend passes, reschedule them for all 7 days again (rescheduling doesn't seem to require you to re-enter parameters).