Command Reference > infacmd sch Command Reference > UpdateSchedule
  

UpdateSchedule

Updates a schedule that the Scheduler Service manages. Update a schedule to change the start or end times, recurrence, or objects that run on the schedule. To view the current options, run the infacmd sch ListSchedule command.
The infacmd sch UpdateSchedule command uses the following syntax:
UpdateSchedule
<-DomainName|-dn> domain_name

<-UserName|-un> user_name

<-Password|-pd> password

[<-SecurityDomain|-sdn> security_domain]

[<-Gateway|-hp> gateway_host1:port gateway_host2:port...]

[<-ResilienceTimeout|-re> timeout_period_in_seconds]
<-ScheduleName|-scn> schedule_name

[<-ScheduleDescription|-scd> schedule_description]

<-Recurrence|-r> once|daily|weekly|monthly

<-StartTime|-st> yyyy-MM-dd HH:mm

[<-EndTime|-et> yyyy-MM-dd HH:mm]

[<-TimeZone|-tz> time_zone]

[<-DailyRunEvery|-dre> daily_run_every]

[<-RunDaysOfWeek|-rdw> mon|tue|wed|thu|fri|sat|sun]

[<-RunDayOfWeekMonth|-rdwm> monday|tuesday|wednesday|thursday|friday|saturday|sunday]

[<-RunDayOfMonth|-rdm> 1-30|LAST_DAY_OF_MONTH]

[<-RepeatCount|-rc> repeat_count]

[<-RemoveRunnableObjects|-rro> removeRunnableObjects]

[<-AddRunnableObjects|-aro> addRunnableObjects]
To configure multiple values for an argument, separate the values with commas.
The following table describes infacmd sch UpdateSchedule options and arguments:
Option
Argument
Description
-DomainName
-dn
domain_name
Name of the Informatica domain.
-UserName
-un
user_name
User name to connect to the domain
-Password
-pd
password
Password for the user name.
-SecurityDomain
-sdn
security_domain
Name of the security domain to which the domain user belongs.
-Gateway
-hp
gateway_host1:port gateway_host2:port ...
Required if the gateway connectivity information in the domains.infa file is out of date. The host names and port numbers for the gateway nodes in the domain.
-ResilienceTimeout
-re
timeout_period_in_seconds
Amount of time in seconds that infacmd attempts to establish or re-establish a connection to the domain.
-ScheduleName
-scn
schedule_name
Required. Name of the schedule. The schedule name is case sensitive.
-Description
-scd
schedule_description
Optional. Schedule description.
-Recurrence
-r
once|daily|weekly|monthly
Required. Specify whether the schedule runs once or recurs.
-StartTime
-st
yyyy-MM-dd HH:mm
Required. Date and time that the recurrence starts.
-EndTime
-et
yyyy-MM-dd HH:mm
Optional. Date and time that the recurrence ends.
-TimeZone
-tz
timezone
Optional. Time zone for the schedule start time.
To configure the time zone, you can enter the time zone ID number or the Olson Database ID.
Default is locale of the client machine.
-DailyRunEvery
-dre
daily_run_every
Optional. Run the schedule on an interval.
The following list describes the options that you can configure:
  • - minute(s). Run the schedule daily every n minutes.
  • - hour(s). Run the schedule daily every n hours.
  • - day(s). Run the schedule every n days.
  • - week(s). Run the schedule every n weeks.
  • - month(s). Run the schedule every n months.
  • - year(s). Run the schedule every n years.
  • - FIRST. Run the schedule every first n day of the month. Use the -rdwm option to specify the day or days of the week.
  • - SECOND. Run the schedule every second n day of the month. Use the -rdwm option to specify the day or days of the week.
  • - THIRD. Run the schedule every third n day of the month. Use the -rdwm option to specify the day or days of the week.
  • - FOURTH. Run the schedule every fourth n day of the month. Use the -rdwm option to specify the day or days of the week.
  • - LAST. Run the schedule every last n day of the month. Use the -rdwm option to specify the day or days of the week.
-RunDaysOfWeek
-rdw
mon|tue|wed|thu|fri|sat|sun
Optional. Run the schedule on certain days of the week.
-RunDayOfWeekMonth
-rdwm
monday|tuesday|wednesday|thursday|friday|saturday|sunday
Optional. Run the schedule on certain days of the week every month. Use the -dre options to run the schedule every first, second, third, fourth, or last n day of the month.
-RunDayofMonth
-rdm
1-30|LAST_DAY_OF_MONTH
Optional. Run the schedule on day n of the month.
-RepeatCount
-rc
repeat_count
Optional. End the recurrence after a number of runs instead of on a date.
RemoveRunnableObjects
-rro
removeRunnableObjects
Optional. Removes objects from the schedule. Enter objects in the following format:
"{mapping|workflow}:Data Integration Service/Application/{Mapping|Workflow}[[?]
[parameterFilePath=PATH_TO_PARAMETER_FILE|
parameterSet=PARAMETER_SET_NAME]
&runAsUser=USER_NAME
&runAsUserSecurityDomain=SECURITY_DOMAIN
&runAsUserPassword=PASSWORD]]"]
-AddRunnableObjects
-aro
addRunnableObjects
Optional. Adds objects to the schedule. Objects that you would like to schedule. Enter the object type, followed by the path to the object on the Data Integration Service. For example:
"mapping:DIS_1234/Application_mapping/Mapping_abc"
Optionally, use the following arguments to configure a parameter file, parameter set, run as user, or operating system profile for the object:
  • - parameterFilePath=PATH_TO_PARAMETER_FILE
  • - parameterSet=PARAMETER_SET_NAME
  • - runAsUser=USER_NAME
  • &runAsUserSecurityDomain=SECURITY_DOMAIN
    &runAsUserPassword=PASSWORD
  • - osProfileName=OS_PROFILE_NAME
For example:
"workflow:DIS_1234/Application_workflow/Workflow_abc?parameterFilePath=
C://Informatica/Parameter Files/Parameter.xml
&runAsUser=Administrator
&runAsUserSecurityDomain=Native
&runAsUserPassword=Administrator"
For a list of the valid time zone values, see Valid Time Zone Parameters.