Task Scheduler - Windows 7

安稳与你 提交于 2019-12-22 03:23:04

问题


I have 5 files that I would like to schedule to run monthly in windows 7 task scheduler. Problem is I want them to run in succession of one another.

Example:

File1 (this runs first) File2 (this runs after file 1 is done running) File3 (this runs after file 2 is done running)

and so on...

How do I go about this? Thanks!


回答1:


From Windows Help (applies to Vista or later):

A task action is the work that is performed when the task is run. A task can have a single action or a maximum of 32 actions. Each action contains settings that determine how the action is performed. A task's actions are displayed on the Actions tab of the Task Properties or Create Task dialog box. When multiple actions are specified, they are executed in sequential order starting with the action at the top of the list in the Actions tab and ending with the action at the bottom of the list. You can change the order in which the actions are executed by selecting an action and clicking on the up or down arrow button to move the action in the list.




回答2:


Create a batch file containing all of your commands one after the other and then schedule the batch file to run.



来源:https://stackoverflow.com/questions/9625127/task-scheduler-windows-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!