SCHEDULE
command line keywordSCHEDULE
specifies the day, time, and frequency
a report should be run. The default is to run the report once, now. Time values
are expressed according to a 24-hour day (that is, one o'clock is expressed 13:00).
You can also specify an expiration for a report job after a number of runs or
on a particular date/time.To eliminate the need for quoting the scheduling command,
use underscores (_) instead of spaces.
For example, use:
SCHEDULE=every_first_fri_of_month_from_15:53_Oct_23,_1999_retry_3_after_1_hour_expires_on_15:53_Oct_23,_2003
SCHEDULE=last_weekday_before_15_from_15:53_Oct_23,_1999_retry_after_1_hour_expires_after_100
or
SCHEDULE=”every first fri of month from 15:53 Oct 23, 1999 retry 3 after 1 hour expires on 15:53 Oct 23,2003”
SCHEDULE=”last weekday before 15 from 15:53 Oct 23, 1999 retry after 1 hour expires after 100”
The executables that can use this keyword are:
rwbuilder |
no |
rwrun |
no |
rwclient |
yes |
rwcgi |
yes |
rwserver |
no |
rwservlet |
yes |
rwconverter |
no |
SCHEDULE=[freq from] time [retry [n] after len expires {on|after} {time|n}]
Values |
Description |
|
hourly | daily | weekly | monthly | {every {len | dayrepeat}} | {last {weekdays | weekday | weekend} before {n}+} |
|
{n}+ {minute[s] | hour[s] | day[s] | week[s] | month[s]} |
|
{first | second | third | fourth | fifth} weekdays of month |
|
mon | tue | wed | thu | fri | sat | sun |
|
now | clock [date] |
|
h:m | h:mm | hh:m | hh:mm |
|
today | tomorrow | {months {d | dd}[,year]} |
|
jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec. |
expires |
on {today | tomorrow | {months {d | dd} [,year]}} | after n |
rwclient server=myrepserver report=test.rdf schedule=every first fri of month from 15:53 Oct 23, 1999 retry 3 after 1 hour” destype=file desformat=pdf desname=test.pdf
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserver+report=test.rdf+schedule=every first fri of month from 15:53 Oct 23, 1999 retry 3 after 1 hour”+destype=file+desformat=pdf+desname=test.pdf
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver+report=test.rdf+schedule=every first fri of month from 15:53 Oct 23, 1999 retry 3 after 1 hour”+destype=file+desformat=pdf+desname=test.pdf
Running a report from the command line
Copyright © 1984, 2005, Oracle. All rights reserved.