В планировщик в виде бат файла для Рестрат службы 1С
net stop "1C:Enterprise 8.3 Server Agent"
ping localhost -n 100
net start "1C:Enterprise 8.3 Server Agent"
или
net stop "1C:Enterprise 8.3 Server Agent (x86-64)"
ping localhost -n 100
net start "1C:Enterprise 8.3 Server Agent (x86-64)"
можно и так
net stop "1C:Enterprise 8.2 Server Agent (x86-64)"
&& net start "1C:Enterprise 8.2 Server Agent(x86-64)"
>> C:\Restart_Services\Restart.log
net stop "1C:Enterprise 8.3 Server Agent"
ping localhost -n 100
net start "1C:Enterprise 8.3 Server Agent"
или
net stop "1C:Enterprise 8.3 Server Agent (x86-64)"
ping localhost -n 100
net start "1C:Enterprise 8.3 Server Agent (x86-64)"
можно и так
net stop "1C:Enterprise 8.2 Server Agent (x86-64)"
&& net start "1C:Enterprise 8.2 Server Agent(x86-64)"
>> C:\Restart_Services\Restart.log
Комментариев нет:
Отправить комментарий