Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Disabling jobs due to shutdown?
We have jobs running on our SQL Server 2k that are scheduled to run
every minute.  Since it's not the only app on the server (I know, I
know), when it needs to be shut down by Operations, I need to be
notified so that I can stop the jobs first.

What I'd like to do is set up some sort of process so that when they
shut down the server, it automatically disables the job, waits for it
to finish, then allows the shutdown to continue.  The only way I can
think of offhand is to create a job they would run - this would disable
the job, poll for the job status, then when complete execute a shutdown
command via xp_cmdshell.  I'd create another job that would, on
startup, enable the job.

Any suggestions?


Report this thread to moderator Post Follow-up to this message
Old Post
M Bourgon
06-27-05 02:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:50 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006