Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 run batch file at server startup

Author  Topic 

devyn
Starting Member

2 Posts

Posted - 2014-10-10 : 14:35:03
how do I schedule a batch file I've created to run at the startup of the server? Windows 2003 server.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-10-10 : 14:39:52
Are you using SQL Server?

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

devyn
Starting Member

2 Posts

Posted - 2014-10-10 : 14:44:26
Yes
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-10-10 : 14:47:12
If you want SQL Server to handle it, then you could setup a job that runs the batch file and have the schedule be when the Agent service starts. If this batch file is not related to SQL Server, you may just want to use Task Scheduler which I believe has an option to run at startup.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -