Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Schedule to start / stop services 1

Status
Not open for further replies.

jamus

IS-IT--Management
Sep 20, 2002
14
SG
Hi, does anyone know if it's possible or how to schedule for any services in NT to start or stop at a specific hour?

I'd would like to back up my Exchange files to another disk on a separate server, and only way for it to work is to stop all Exchange services.

I have Backup Exec but as far as i can tell, it doesn't allow restoring Exchange files to other location.

apprecaite any help.

cheers

jamus
 
Create a batch file with

net stop &quot;<service name>&quot;

in it. If you have more than one service, put one per line.

Then create another (seperate) batch file with

net start &quot;<service name>&quot;

in it. Then just use the AT command, or the Task Scheduler in My Computer (if installed), to run those at a scheduled time. Note you can also use Backup Exec to do a pre- and post- backup execution of these scripts. [auto] MCSE NT4/W2K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top