A script-enabled browser is required for this page to function properly.

SCHEDULE command line keyword

SCHEDULE 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

Syntax

SCHEDULE=[freq from] time [retry [n] after len expires {on|after} {time|n}]

Values

Description

freq

hourly | daily | weekly | monthly | {every {len | dayrepeat}} | {last {weekdays | weekday | weekend} before {n}+}

len

{n}+ {minute[s] | hour[s] | day[s] | week[s] | month[s]}

dayrepeat

{first | second | third | fourth | fifth} weekdays of month

weekdays

mon | tue | wed | thu | fri | sat | sun

time

now | clock [date]

clock

h:m | h:mm | hh:m | hh:mm

date

today | tomorrow | {months {d | dd}[,year]}

months

jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec.

expires

on {today | tomorrow | {months {d | dd} [,year]}} | after n

Examples

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

See also

Command line keywords

Using the command line

Running a report from the command line