SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Server Auto Shutdown
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Christine3
Starting Member

Sri Lanka
1 Posts

Posted - 05/17/2012 :  04:43:36  Show Profile  Reply with Quote
I need urgent help. How do I arrange for an auto shutdown of my Server at 5.30 pm please.

Thanks
Christine

Christine S K-Singam

Sachin.Nand
Flowing Fount of Yak Knowledge

2937 Posts

Posted - 05/17/2012 :  08:26:18  Show Profile  Reply with Quote
create a bat file with commands net stop "YourSqlService" and net start "YourSqlService" and schedule bat file in windows scheduler to execute at 5:30 pm.Make sure you execute the bat file with admin privileges.

After Monday and Tuesday even the calendar says W T F ....
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1769 Posts

Posted - 05/19/2012 :  12:25:17  Show Profile  Visit jackv's Homepage  Reply with Quote
Do you mean the server or SQL Server ?

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000