如何让系统定时启动某个任务,执行某个脚本,window系统的任务计划程序功能就可以实现,操作步骤如下:
1.打开程序“任务计划程序”,在window系统搜索程序中搜索该程序即可,或者在控制面板中寻找。程序页面截图如下:
2.在右侧“操作”菜单中选择“创建任务”
3.在“常规”中,填写相应的名称,描述以及相对应的用户选择,如下截图:
3.在“操作”页面中,新建一个操作,选择要定时执行的程序或者脚本文件,如下截图:
4.“操作”建立完成后,还可以再添加其他操作,如下截图:
5.在“触发器”页面中,设置定时启动时间和日期,以及其他设置,如下截图:
6.“条件”和“设置”可以根据自己需求设置,全部设置完毕点击确定完成。
7.关闭“任务计划程序”,重新打开,点击右侧“任务假话程序库”,可以查看刚才添加的任务,如下截图: