chapter iii : scheduling options - WinTask

cavalcadehorehoundMechanics

Nov 5, 2013 (3 years and 7 months ago)

64 views



1


2


3


4

WinTask

x64

5

Scheduler for

Windows 7 64 bits
and

Windows 2008 R2

6


7


8

Scheduler Quick Start Guide

9


10

11


2

1


3


1

INTRODUCTION

5

2

CHAPTER I : INSTALLA
TION

7

3

CHAPTER II : SET UP
YOUR FIRST SCHED
ULED TASK

9

4

CHAPTER III : SCHEDU
LING OPTIONS

15

5

CHAPTER IV

: SECURITY MANAGEMEN
T

19

6


7


8


9


10



Copyright
1997
-
2011

TaskW
are

December

2011

1.0

11


12

WinTask


is a trademark
of TaskWare.

13

14


4

1


5

INTRODUCTION

1


2


3


4

WinTask
x64
is a complete automation tool for Windows

7 64 bits and for Windows 2008 R2
. It
5

can automate any Windows application or Web page. WinTask
x64
is more than just another
6

macro recorder. The automation script can
be extended to include standard programming
7

paradigms well beyond a simple repetition of steps. It provides too Capture tools for extracting
8

data from the application under automation, and it includes OCR techniques for even capturing
9

text embedded in an
image. To execute your automation scripts unattended, you can schedule
10

them using
WinTask x64

Task Scheduler
. You need admin rights to install WinTask x64 Scheduler

11

as it is a Windows Service.

12


13


14

When WinTask x64 Scheduler service is installed, it is displa
yed in the Services list under the
15

name «

WTScheduler

».
The WinTask x64 Scheduler can start scheduled tasks even if no
16

desktop is opened : it can login automatically.

17


18


19

This guide explains how to use WinTask x64 Scheduler, it does not explain how to creat
e
20

automation scripts with WinTask x64, use for that the other manuals available on
21

www.wintask.com/manuals.php
.

22


23

24


6


1


2


3


4

5


7

CHAPTER

I : INSTALLATION

1


2


3

To install WinTask x64 Scheduler, you must open a session with admin
4

rights. Only administrator can install a
Windows Service under
5

Windows 7 or Windows 2008
.

6


7


8


9

Install the software using the provided download link
.

10


11


12

A Welcome screen is displayed when you start the installation.
Click the
Next

button
.
A Readme
13

Information screen is then displayed, click the
Next

button.

On the License agreement, check the
I
14

accept the terms in

the license agreement

checkbox and click the
Next

button
.

15


16


17

The
C
ustomer

Information

screen is then displayed with your User Name

and Organization.
Leave
18

checked the
Anyone who uses this co
mputer

checkbox and click the
Next

button.

19


20


21

The Setup Type window is displayed

:

22


23


24


25

To install in the default folder, leave checked
Complete

If you want to install the software in a
26

different folder than the default

(C:
\
Program Files

(x86)
\
WinTask), c
hec
k
the
Custom

checkbox.
27

Click the
Next

button
.

28


29

Click the
Install

button on the Ready to install
the
Program window.
Files are then copied.

30


31


8

The InstallShield Wizard Completed window is displayed, uncheck the two Show

…Guide, but
1

CHECK the REBOOT checkbox.

Click the Finish button, the PC reboots.

2


3

If an IMPORTANT dialog box is displayed, follow what is said if you need to automate tasks using
4

Internet Explorer.

5


6


7

RE
MEMBER to reboot

: the reboot starts the Scheduler service just installed
.

8


9


10


11

12


9

CHAPTER II : S
et up your first scheduled task

1


2


3


4

In this chapter you will schedule a task, the task will just launch notepad at the scheduled time
.

5


6


7

Start WinTask x64 Scheduler

:

8


9



Click the Windows
Start

button
.

10


11



Select
All Programs
.

12


13



Click

WinTask

and in the WinTask g
roup, click
Scheduler
.

14


15


16

The WinTask Scheduler window is displayed with an empty Task list:

17


18


19


20

Click the
New task

button
.

21


22


23

The Task Properties window is displayed
:

24


25


10


1


2

In
Task name

field, type a name, for example type
notepad launch
.

3


4

In
Task type

field,

check
Other

checkbox as this task will launch an exe file (notepad.exe). Leave
5

checked
Script

if you want to create a task which launches a WinTask x64 automation script
.

6


7

In
Command line

field,
type

notepad

(o
r click
Browse

button to select the executabl
e file that you
8

want to launch).
If the task launches an automation script, click
Browse

button and select the
9

.ROB file you want to launch (the .ROB is the compiled automation script, the .SRC is the source
10

of the automation script).

11


12


13


11


1


2


3

The file which
is started at scheduled time is now specified. Select the
Schedule

Tab to specify
4

the time where the task has to be started.

5


6

The window below is now displayed
:

7


8


12


1


2

Modify the
Time

and
Date

fields

in the
Starting

group in order to launch once the task at t
he
3

specified Time and Date.
For example, to

make the task start November 17
th at 9 am, the screen
4

will look like below (Date and Time are here in European format


in you use a
US format, the
5

screen below will show

the month be
fore

the day
)
:

6


7


13


1


2

The other
options will be described later in this Guide.

3


4

The

S
e
curit
y

Tab does not have to be configured
f
or now
. So just click the
OK

button
.

5


6


7


8


14


1

Double check that
Service Status

shows a green color

(the Scheduler service named
2

WTScheduler is started)
.

Check in t
he status bar that
Next task to run

reflects the task that you
3

have just scheduled

(in our example notepad launch at 09:00:00 the 17/11/2011
).

4


5

You can
now
close the Scheduler window
by
selecting
File/Exit

menu.

6


7

In the Windows taskbar, the Scheduler icon

must be displayed, it tells that the WTScheduler
8

service is started and so your scheduled task will be launch at the scheduled time
.

9


10


11


12

13


15


1

CHAPTER III : SCHEDULING OPTIONS

2


3


4


5

This chapter reviews the different options for scheduling a task at different in
tervals (Schedule Tab
6

in
Task Properties window)
.

7


8

After you

have created a task
,
you must specify when it has to be launched
.

9


10

In the Task list

(main window of WinTask x64 Scheduler)
, right click the task you want to schedule
11

and in the context menu sele
ct
Properties
. Click the
Schedule

Tab, the window below is
12

displayed
:

13


14


15


16

In Frequency group, if you check
Once
, the task will start once at the date and time as specified in
17

the
Starting

group on the right.

18


19


20

To schedule a task to run at regular intervals
, in
Frequency

group, check
Repeat every


21

With those parameters as below

:

22


23


16


1


2

The task will start every day at 9

am, the first day when it starts is 17 November 2011
.

3


4


5


6

To schedule the task every hour, every day, starting 17 November 2011

at 9 am
, th
e

pa
rameters
7

are

:

8


9


17


1


2

To schedule the task to run every month, check
Repeat every

xxx
month
:

3


4


5


18


1


2

Last, to schedule a task starting only at PC reboot, check
At every reboot
.

3


4


5


6

The

Exclusions
group allow to exclude some hour/day intervals
:

7


8


9


10

In the example

above, the task starts every day at 9 am starting 17

November 2011, except on
11

Saturday and Sunday.
If you check
Specific holidays list

and click
Edit list

button, you can
12

specify
holidays list and the task will not start for those days.
If you check
Sched
uler holidays
13

list
, the task is not started for the days specified for any task in
Scheduler options

Tab in the
14

main Scheduler window
.

15


16

Finally, the
Active

checkbox tells if the task is triggered by Scheduler or not. The
Maximum
17

duration

field specifies a
maximum time for the task execution, with a 0 value, the task has no
18

duration time
.

19

20


19


1

CHAPTER

IV

:
SECURITY MANAGEMENT

2


3


4


5

By default, a scheduled task runs using the already opened desktop. As soon as an automation
6

script interacts with a user interface (t
hrough UseWindow, UsePage for example), an opened
7

desktop is needed.

8


9

This chapter explains how to open a new desktop when a scheduled task starts
.

10


11

So you have already created a task which launches a .ROB, as below for example
:

12


13


14


15


16

Click Security Tab
:

17


18


20


1


2

If Force a new desktop with this account is checked, at scheduled task time,

the current desktop is
3

closed (if one is opened), then a new desktop is opened with the specified credentials, the task is
4

started, and at the end of the execution, the desktop
is closed.

5


6


7


8


9


10


11


12


13


14


15


16


17


18


19


20


21