net start "BlackBerry Router"
net start "BlackBerry Dispatcher"
net start "BlackBerry Controller"
net start "BlackBerry Policy Service"
net start "BlackBerry SyncServer"
net start "BBAttachServer"
net start "BlackBerry MDS Connection Service"
net start "Blackberry Server Alert"
net start "Blackberry Database Consistency Service"
pause
关闭
net stop "Blackberry Server Alert"
net stop "BBAttachServer"
net stop "BlackBerry Controller"
net stop "BlackBerry Dispatcher"
net stop "BlackBerry MDS Connection Service"
net stop "BlackBerry Policy Service"
net stop "BlackBerry Router"
net stop "BlackBerry SyncServer"
net stop "Blackberry Database Consistency Service"
pause
在我们的 BES 上,我们有这些脚本
启动
关闭
如果您将 net stop 命令按照需要停止和启动服务的顺序放在批处理文件中,它们将被一个接一个地处理。第一个服务将停止,然后是第二个,依此类推。在前一个服务完成之前,不会处理第二个和后续服务(网络停止命令)。
使其脚本化并确保每天清晨运行。