Scheduling the Batch Job
You can run the Batch Job on a regular basis. You can do this in either of the following ways:
On this window:
- Task Name. This is name of the task in the Windows Task Scheduler. We generally recommend that this is the same name as the job, however a different name can be used if required.
The Task Name must be unique within the Task Scheduler folder. If there are other users on your machine creating tasks, you won't be able to create task with the same name as their tasks. To avoid this problem you may wish to give all users a different Task Scheduler folder. This is specified in Options > General.
- Batch File to Run.This is the AQT Batch Job to run.
- How often? This specifies how frequently you want to run the job. For Weekly and Monthly schedules, you will get boxes where you can specify the days-of-week or days-of-month as appropriate.
- Run if schedule missed? When this option is specified, Windows will run the task even if the scheduled time for the task has passed.
- if Run when not logged on is specified, the task time may be missed because of a machine reboot or power off. In this case the task will be run when Windows is next running.
- if Run when not logged on is not specified, any missed tasks will be run when you next log on.
- Userid and Password. By default the task will run under your own userid. Only specify userid/password if:
- you are running the task under a different userid than your own.
- you have selected option Run when not logged on. In this case you need to specify userid / password, even if the task is running under your own userid.
If you enter a userid. but no password, the userid will be ignored and the task will run under your userid.
AQT doesn't provide a mechanism to run the task under Local Administrator or other inbuilt account. To do this, you will need to create / edit the report using the Windows Task Scheduler dialog.
- Run when not logged on? Select this when you wish to run the task even when you are not logged onto the machine. For tasks run out of hours (eg. overnight), it is recommended that this option is selected.
When specifying this, you must enter both userid and password.
For critical jobs, it is recommended that both Run if schedule missed and Run when not logged on are selected. If this is not done, there is a chance that the task will not be run.