Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Task Scheduler - Windows 7

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!

like image 759
Adam Avatar asked Mar 08 '12 21:03

Adam


People also ask

Where do I find Scheduled Tasks in Windows 7?

Windows XP and Windows 7 To open Scheduled Tasks, click Start, click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.

How do I find Task Scheduler?

Click on Start menu > Windows Administrative Tools > Task Scheduler. Alternatively, you can type 'task scheduler' in the search box on the taskbar. Go to the Control Panel > [System & Security ] > Administrative Tools > Task Scheduler.


2 Answers

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.

like image 69
Neil Avatar answered Oct 23 '22 04:10

Neil


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

like image 31
SecurityMatt Avatar answered Oct 23 '22 03:10

SecurityMatt