Scheduling Reports from the Command Line for Windows
You can schedule a report from the command line for processing on a future date, daily, or even on a recurring day of the week. To schedule one-time only reports, use the at command.
When you issue jobs with the at command, they run in the background. However, the at command enables you to schedule a future time of execution. You can use this command to run a batch job during off-peak hours.
The command format for the at command is as follows:
at [\\computername\ time [/INTERACTIVE] [/EVERY:date[,...] | /NEXT:date[,...]] command
Where these options apply:
Parameter |
Description |
---|---|
\\computername |
Identifies the computer on which to run the program. If you do not specify a value, the default is the local machine. |
time |
Specifies the time to run the job, such as 08:00. |
/Windows INTERACTIVE |
enables the program to interact with the Windows operating system desktop. |
/EVERY:date |
Specifies the days on which to run the job. Values are M, T, W, Th, F, S, and Su. |
/NEXT:date |
Specifies the next date for the first execution. If you do not specify a value, the default value is today's date. |
command |
Specifies the command to run. To run batch jobs here, use the runube command with any of its parameters. |