Edit

Share via


ItemSchedule interface

An interface representing the schedule info of item

Properties

cronPeriod

The period in minutes for cron schedule type

cronUnit

The unit for TWT cron schedule type

executionData

The optional payload in json format string that will be passed when starting job

itemJobType

The configured job type

itemObjectId

The object id of the item

jobDefinitionObjectId

The object id of the item job definition

lastUpdateTimeUtc

The utc timestamp of last update

localTimeZoneId

The timezone of the schedule start/end time

maxConcurrency

The optional max concurrency of the schedule; default value is 1

maxNumRetries

The optional maximum number of retries for the schedule; default value is 1

nextJobScheduleTime

The timestamp of the next scheduled job to run, calculated based on the time and schedule type

nextJobScheduleTimeUtc

The utc timestamp of the next scheduled job to run, calculated based on the time and schedule type

ownerUser

The owner user(last modifier) of the schedule

parameters

The optional job parameters setting

scheduleEnabled

Whether it is enabled

scheduleEndTime

The time to stop the schedule

scheduleHours

The list of time to schedule job for daily/weekly schedule type

scheduleMonthDays

The day(s) that are specified for monthly schedule

schedulePeriod

The schedule period that is specified for monthly scheduling

scheduleStartTime

The time to start the schedule

scheduleType

The type of schedule

scheduleWeekdays

The weekdays that are selected for scheduling for daily/weekly/monthly schedule type

scheduleWeekIndex

The week that is specified for monthly schedule with relative monthly option

Property Details

cronPeriod

The period in minutes for cron schedule type

cronPeriod?: number

Property Value

number

cronUnit

The unit for TWT cron schedule type

cronUnit?: CronUnit

Property Value

CronUnit

executionData

The optional payload in json format string that will be passed when starting job

executionData?: string

Property Value

string

itemJobType

The configured job type

itemJobType: string

Property Value

string

itemObjectId

The object id of the item

itemObjectId: string

Property Value

string

jobDefinitionObjectId

The object id of the item job definition

jobDefinitionObjectId: string

Property Value

string

lastUpdateTimeUtc

The utc timestamp of last update

lastUpdateTimeUtc?: string

Property Value

string

localTimeZoneId

The timezone of the schedule start/end time

localTimeZoneId: string

Property Value

string

maxConcurrency

The optional max concurrency of the schedule; default value is 1

maxConcurrency?: number

Property Value

number

maxNumRetries

The optional maximum number of retries for the schedule; default value is 1

maxNumRetries?: number

Property Value

number

nextJobScheduleTime

The timestamp of the next scheduled job to run, calculated based on the time and schedule type

nextJobScheduleTime?: string

Property Value

string

nextJobScheduleTimeUtc

The utc timestamp of the next scheduled job to run, calculated based on the time and schedule type

nextJobScheduleTimeUtc?: string

Property Value

string

ownerUser

The owner user(last modifier) of the schedule

ownerUser?: ItemJobOwner

Property Value

parameters

The optional job parameters setting

parameters?: ParameterItem[]

Property Value

ParameterItem[]

scheduleEnabled

Whether it is enabled

scheduleEnabled: boolean

Property Value

boolean

scheduleEndTime

The time to stop the schedule

scheduleEndTime?: string

Property Value

string

scheduleHours

The list of time to schedule job for daily/weekly schedule type

scheduleHours?: string[]

Property Value

string[]

scheduleMonthDays

The day(s) that are specified for monthly schedule

scheduleMonthDays?: number[]

Property Value

number[]

schedulePeriod

The schedule period that is specified for monthly scheduling

schedulePeriod?: number

Property Value

number

scheduleStartTime

The time to start the schedule

scheduleStartTime?: string

Property Value

string

scheduleType

The type of schedule

scheduleType: ScheduleType

Property Value

ScheduleType

scheduleWeekdays

The weekdays that are selected for scheduling for daily/weekly/monthly schedule type

scheduleWeekdays: WeekdaysItem[]

Property Value

WeekdaysItem[]

scheduleWeekIndex

The week that is specified for monthly schedule with relative monthly option

scheduleWeekIndex?: number

Property Value

number