• No results found

WinTask x64 Scheduler for Windows 7 64 bit, Windows 8/ bit and Windows 2008 R2 64 bit. Scheduler Quick Start Guide

N/A
N/A
Protected

Academic year: 2021

Share "WinTask x64 Scheduler for Windows 7 64 bit, Windows 8/ bit and Windows 2008 R2 64 bit. Scheduler Quick Start Guide"

Copied!
27
0
0

Loading.... (view fulltext now)

Full text

(1)

1 2 3 4

WinTask x64

5

Scheduler for Windows 7 64 bit, Windows 8/8.1 64 bit and Windows 2008 R2 64 bit 6

7 8

Scheduler Quick Start Guide

9

(2)
(3)

1

INTRODUCTION

5

2

CHAPTER I : INSTALLATION

7

3

CHAPTER II : SET UP YOUR FIRST SCHEDULED TASK

9

4

CHAPTER III : SCHEDULING OPTIONS

15

5

CHAPTER IV : SECURITY MANAGEMENT

19

6

CHAPITRE V : RECEIVE A MAIL WHEN A SCHEDULED TASK FAILED

23

7

CHAPITRE VI : WHY MY SCHEDULED TASK DID NOT RUN CORRECTLY?

25

8

9 10 11 12

 Copyright 1997-2014 TaskWare January 2014 Version 5.0 13

14

WinTask is a trademark of TaskWare. 15

(4)
(5)

INTRODUCTION

1 2 3 4

WinTask x64 is a complete automation tool for Windows 7 64 bit, Windows 8/8.1 64 bit and for 5

Windows 2008 R2 64 bit. It can automate any Windows application or Web page. WinTask x64 is 6

more than just another macro recorder. The automation script can be extended to include 7

standard programming paradigms well beyond a simple repetition of steps. It provides too 8

Capture tools for extracting data from the application under automation, and it includes OCR 9

techniques for even capturing text embedded in an image. To execute your automation scripts 10

unattended, you can schedule them using WinTask x64 Task Scheduler. You need admin rights to 11

install WinTask x64 Scheduler as it is a Windows Service. 12

13 14

When WinTask x64 Scheduler service is installed, it is displayed 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 create 20

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

www.wintask.com/manuals.php. 22

(6)
(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 8 or Windows 2008.

6 7

WinTask x64 Scheduler cannot be installed through Remote desktop, it

8

must be installed physically in front of the PC.

9 10 11 12

Install the software using the provided download link. 13

14 15

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

Information screen is then displayed, click the Next button. On the License agreement, check the I 17

accept the terms in the license agreement checkbox and click the Next button. 18

19 20

The Customer Information screen is then displayed with your User Name and Organization. Leave 21

checked the Anyone who uses this computer checkbox and click the Next button. 22

23 24

The Setup Type window is displayed : 25

26

27 28

To install in the default folder, leave checked Complete If you want to install the software in a 29

different folder than the default (C:\Program Files (x86)\WinTask), check the Custom checkbox. 30

(8)

8 1

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

3

The InstallShield Wizard Completed window is displayed, uncheck the two Show …Guide, but 4

CHECK the REBOOT checkbox. Click the Finish button, the PC reboots. 5

6

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

Internet Explorer. 8

9 10

REMEMBER to reboot : the reboot starts the Scheduler service just installed. 11

(9)

CHAPTER II : Set 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 group, 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

(10)

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 (or click Browse button to select the executable 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

(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

(12)

12 1

2

Modify the Time and Date fields in the Starting group in order to launch once the task at the 3

specified Time and Date. For example, to make the task start November 17th 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 before the day): 6

(13)

1 2

The other options will be described later in this Guide. 3

4

The Security Tab does not have to be configured for now. So just click the OK button. 5

6 7

(14)

14 1

Double check that Service Status shows a green color (the Scheduler service named 2

WTScheduler is started). Check in the 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/2014). 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

(15)

1

CHAPTER III : SCHEDULING OPTIONS

2 3 4 5

This chapter reviews the different options for scheduling a task at different intervals (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 select 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

(16)

16 1

2

The task will start every day at 9 am, the first day when it starts is 17 November 2014. 3

4 5 6

To schedule the task every hour, every day, starting 17 November 2014 at 9 am, the parameters 7

are : 8

(17)

1 2

To schedule the task to run every month, check Repeat every xxx month: 3

4

(18)

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 2014, 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 Scheduler 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

(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 (through 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

(20)

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

If you set up a task using Remote desktop, you have to check Force a new desktop and you must 7

logoff the current desktop before the scheduled time. At scheduled time, on the remote PC, a 8

session with the specified credentials will be opened, the task will run and the desktop will be 9

closed. 10

11 12

It is possible to define the credentials for all the scheduled tasks in Scheduler options Tab: 13

(21)
(22)

22 1

(23)

1

CHAPITRE V : RECEIVE A MAIL WHEN A SCHEDULED TASK FAILED

2 3 4 5

The Scheduler can send an email when a scheduled task has finished its execution. 6

7

Click Notification email in main Scheduler window: 8

9

10 11

In SMTP outgoing mail server, type your SMTP outgoing mail server name (the same as in your 12

email software). Do not check User authentication unless you use a public email (such as gmail). 13

14 15

Click Define email template to define the mail to send: 16

(24)

24 1

2

If you check Include task name in subject, the mail subject field will contain the task name. 3

4

If you check Include Event log information, the mail body will contain the messages written in 5

Event log. 6

7

If you check Include Script Log, AND if you run the script with a log (menu Configure/Run in 8

(25)

1

CHAPITRE VI : WHY MY SCHEDULED TASK DID NOT RUN

2

CORRECTLY?

3 4 5 6 7 8

Check first the task result in main Scheduler window, Last run result column : 9

10

11 12

If the code between parenthesis is 21, the script did not end due to a script execution error. If 13

another error code is returned, go to the help, menu ? then Help index, select Scheduler chapter 14

and Scheduler, error codes topic. 15

16

More details for error 21 or for another error are given in Windows Application log. Click 17

Application log button in Scheduler main window to open directly Application Event Viewer: 18

(26)

26 1

2

The events for Scheduler are listed as WTScheduler Source : if you see in Level colum the Error 3

word for the WTScheduler source, double click the line to see the details error : 4

(27)

References

Related documents

Microsoft Windows Server 2008 (Standard, Enterprise and Data Center Editions 64-bit), Microsoft Windows Server 2003 (Datacenter and Datacenter x64), 64-bit Red Hat Enterprise

Windows 7 Home Premium SP1 64-bit Bit Version 64-bit Version Home 1 gigahertz (GHz) or faster 64-bit (x64) processor 1 gigabyte (GB) RAM or 2 GB RAM (64-bit) 16 GB available

proportional to the tax rate increase. Evaluate the fiscal implications of these policy changes. a) Please provide a brief assessment of the current liquidity and solvency situation

However, the competitive climate of research and the perception of the level of competition was highly indicative of work to family conflict, indicating that faculty members have a

Change in walking outlet density was associated with change in alcohol-related harms: consumption of alcohol, emergency hospital admissions and violent crime against the person

Windows Server 2003 (32-bit, 64-bit, R2 or SP1 or later) Windows Server 2008 (32-bit, 64-bit, including R2) Windows Server 2012 (32-bit, including R2) Windows Small Business Server

• Windows Server® 2003 SP2 (32-bit or 64-bit) • Windows Server 2003 R2 SP2 (32-bit or 64-bit) • Windows Server® 2008 SP2 (32-bit or 64-bit) • Microsoft® hotfix 955839

Fig. TS1 –Case 1: Current at primary of SFCLT with S-L-G fault at A.. to ground fault at point B. The simulation results of these conditions are discussed in the following. From