Home > other >  Server restart problem
Server restart problem

Time:10-04

Do I want to be a server in the evening 1 point automatically restart the SQL server and SQL agent service, there is also a medical record service

But there is a problem with medical record and SQL server and SQL agent service is dependent, must be the front two service start to start the medical record service

How do you write such a BAT?

CodePudding user response:

What is server operating system?

CodePudding user response:

This... I don't know much about it...

CodePudding user response:

I did not meet the 1 l said

CodePudding user response:

Bat? Windows platform?
Task plan? The AT?
Vague look not to understand completely.

CodePudding user response:

- the middle line, waiting for the number of milliseconds
Wait XXXXX

CodePudding user response:

What is the operating system

CodePudding user response:

Simple, direct let whole server restart settle with, was entangled with a what,

Don't say server restart the bat can't write ah

Shutdown/0 f/r/t

CodePudding user response:

Is a great god! Don't understand completely

CodePudding user response:

Attention, didn't see

CodePudding user response:

CodePudding user response:

Not clear not clear not clear not clear not clear

CodePudding user response:

Schedule a task scheduled time to restart

CodePudding user response:

Don't know either!

CodePudding user response:

Windows system, directly with planning tasks, and then use the BAT edit a
Netstat service name
127.1 n 2 ping (2 seconds)
Netstat waiter
127.1 n 2 ping (2 seconds)
Netstat waiter
127.1 n 2 ping (2 seconds)
The exit
This line,
  • Related