4.7.9.1. Using the Microsoft Windows Task Scheduler with Anatella

<< Click to Display Table of Contents >>

Navigation:  4. How to use Anatella? > 4.7. Batch Execution / Anatella command-line > 4.7.9. Running many Anatella graphs at regular interval >

4.7.9.1. Using the Microsoft Windows Task Scheduler with Anatella

 

The first step is to find & open the “Microsoft Task Scheduler”. You can usually find the Microsoft “Task Scheduler” application inside the “Administrative tools” folder of your “Start Menu”.

 

The icon of the Microsoft “Task Scheduler” application is: ANATEL~1_img159.

 

 

If you can’t find the “Task Scheduler” application in your “Start Menu”, click on the “Run” button in the start menu:

 

ANATEL~1_img160

 

 

You can also enter: “c:\windows\system32\taskschd.msc” into the textbox and click the OK button:

 

ANATEL~1_img161

 

 

 

Alternatively, enter: “taskschd.msc” into the textbox and click the OK button.

 

ANATEL~1_img162

 

 

 

Alternatively, enter: “control schedtasks” into the textbox and click the OK button.

 

ANATEL~1_img163

 

 

 

The Microsoft “Task Scheduler” window should now appear:

 

ANATEL~1_img164

 

 
Right-click on the “Task scheduler Library” folder to open a context-menu.

In this context-menu, select “New folder”:

 

ANATEL~1_img165

 

 

Enter “Anatella” as folder name and press enter:

 

ANATEL~1_img166

 

 
As an example, we will create a new task named “update my data”. This new task runs the Anatella graph “d:\my_graph.anatella” every Monday of every week. Select the “Anatella” folder and click on “Create Basic Task...”:

 

ANATEL~1_img167

 

 

Enter “update my data” as name of the task and click the “Next” button:

 

ANATEL~1_img168

 

 

Select “Weekly” and click the “Next” button:

 

ANATEL~1_img169

 

 

 

Select “Monday” and click the “Next” button:

 

ANATEL~1_img170

 

 
Select “Start a program” (this is the default parameter) and click the “Next” button:

 

ANATEL~1_img171

 

 

Enter (between quotes) the full path to the Anatella executable inside the “Program/Script” textbox. In the “argument” textbox, enter the “-e” string followed by the full path (between quotes) of the Anatella-graph to execute. Once the 2 fields are setup correctly, click the “Next” button.

 

You should have something like this:

 

ANATEL~1_img172

 

 
Click the “Finish” button:

 

ANATEL~1_img173

 

 

You can see the new Anatella Tasks named “update my data”. This task has been added to the list of tasks to perform. From now-on, your Anatella-graph will be executed every Monday of every week.

 

ANATEL~1_img174