Oracle® Business Intelligence Scheduler Guide > Using Oracle BI Scheduler Job Scripts > Oracle BI Scheduler Script Object Methods and Events >

ScheduleJobMonthlyDOW Method


This topic is part of Oracle BI Scheduler Script Object Methods and Events.

Schedules a new job with a monthly by day of the week (DOW) trigger.

Syntax: ScheduleJobMonthlyDOW name, description, scriptType, script, startDate, startTime, endTime, minutesInterval, whichOccurrences, whichDays, whichMonths [, parameters, flags, maxRunTimeMS, maxConcurrentInstances, endDate]

Arguments: Refer to Table 31 for ScheduleJobMonthlyDOW method arguments.

Table 31. ScheduleJobMonthlyDOW Method Arguments
Argument
Description

name

A string that specifies the name of the job.

description

A string that specifies the description of the job.

scriptType

A string that specifies the script type associated with the job (either VBScript or JScript).

script

A string that specifies the script code or path (if the nqJobScriptContainsPath flag is set) associated with the job.

startDate

A date value that specifies the date the job is activated.

startTime

A date value that specifies the time the job is activated.

endTime

A date value that specifies the time the job is deactivated.

minutesInterval

A long value that specifies the number of minutes between consecutive job executions.

whichOccurrences

An integer value that specifies the occurrences of days of the week the job runs. For valid settings, refer to DayEnum Constants.

whichDays

An integer value that specifies the days of the week the job runs. For valid settings, refer to DayOfWeekEnum Constants.

whichMonths

An integer value that specifies the months the job runs. For valid settings, refer to MonthEnum Constants.

parameters

(Optional) A string array of parameter values passed to the script. The default is an empty array.

flags

(Optional) A long value that specifies the flags associated with the job. For valid settings, refer to JobFlagsEnum Constants. The default is nqJobNoFlags.

maxRunTimeMS

(Optional) A long value that specifies the maximum time in milliseconds that a job runs before it is terminated. The default is 0 (zero), which means the job can run indefinitely.

maxConcurrentInstances

(Optional) A long value that specifies the maximum number of concurrent running instances of this job. The default is 0 (zero), which means no limit.

endDate

(Optional) A date value that specifies the time the job is deactivated.

Oracle® Business Intelligence Scheduler Guide Copyright © 2007, Oracle. All rights reserved.