Skip to main content

CreateScheduleRequest

Properties

NameTypeDescriptionNotes
TaskTypeNameStringThe type or category of the scheduled task.[optional]
ScheduleTypeStringThe scheduling type, such as ""Daily"", ""Weekly"" etc.[optional]
IntervalInt32The interval depends on the chosen schedule cycle (scheduleType), i.e. if the schedule is daily, the interval will represent the days between executions.[optional]
ScheduleTaskNameStringThe display name of the scheduled task.[optional]
StartTimeInt64The start time for the scheduled task, represented as epoch seconds.[optional]
EndTimeInt64The end time for the scheduled task, represented as epoch seconds.[optional]
DaysOfWeek[]StringA list of days of the week when the task should run (e.g., ""Monday"", ""Wednesday"").[optional]
ActiveBooleanIndicates whether the scheduled task is currently active.[optional] [default to $false]
RunAfterScheduleTaskIdInt64The ID of another scheduled task that triggers this scheduled task upon its completion.[optional]
ApplicationIdInt64The unique identifier of the application associated with the scheduled task.[optional]

Examples

  • Prepare the resource
$CreateScheduleRequest = Initialize-V2025CreateScheduleRequest  -TaskTypeName DataSync `
-ScheduleType Daily `
-Interval 1440 `
-ScheduleTaskName Daily Data Sync `
-StartTime 1762237200 `
-EndTime 1762240800 `
-DaysOfWeek [Monday, Wednesday, Friday] `
-Active true `
-RunAfterScheduleTaskId 1000 `
-ApplicationId 2001
  • Convert the resource to JSON
$CreateScheduleRequest | ConvertTo-JSON

[Back to top]