如何设置vps周末定期重启一次 (转载自百度经验)
提示:windows2008设置方法一样,只是图像或表述方法略不同。如果你需要我远程为您演示,请点下面打赏。
windows2003服务器经常出现资源耗尽的现象,有时候经常需要我们重新启动机器才能恢复正常,那么如何让服务器在规定时间自动重启呢? 在服务器上新建一个文本文档

打开文本文档,写入以下内容并保存:
shutdown -r -t 30

将文档重命名为reboot.bat

点击开始-控制面板,找到任务计划并打开


双击添加任务计划-弹出任务计划向导,点击下一步

点击浏览选择刚才保存的reboot文件

设置执行任务的周期,点击下一步

设置执行任务的时间,点击下一步

输入执行任务的账号和密码。一般为服务器管理员账号密码。。点击下一步

点击完成保存即可。