Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. infacmd autotune Command Reference
  10. Infacmd bg Command Reference
  11. infacmd ccps Command Reference
  12. infacmd cluster Command Reference
  13. infacmd cms Command Reference
  14. infacmd dis Command Reference
  15. Infacmd dis Queries
  16. infacmd dp Command Reference
  17. infacmd idp Command Reference
  18. infacmd edp Command Reference
  19. Infacmd es Command Reference
  20. infacmd ics Command Reference
  21. infacmd ipc Command Reference
  22. infacmd isp Command Reference
  23. infacmd ldm Command Reference
  24. infacmd mas Command Reference
  25. infacmd mi Command Reference
  26. infacmd mrs Command Reference
  27. infacmd ms Command Reference
  28. infacmd oie Command Reference
  29. infacmd ps Command Reference
  30. infacmd pwx Command Reference
  31. infacmd roh Command Reference
  32. infacmd rms Command Reference
  33. infacmd rtm Command Reference
  34. infacmd sch Command Reference
  35. infacmd search Command Reference
  36. infacmd sql Command Reference
  37. infacmd tdm Command Reference
  38. infacmd tools Command Reference
  39. infacmd wfs Command Reference
  40. infacmd ws Command Reference
  41. infacmd xrf Command Reference
  42. infacmd Control Files
  43. infasetup Command Reference
  44. pmcmd Command Reference
  45. pmrep Command Reference
  46. Working with filemanager
  47. Working with pmrep Files

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.

0 COMMENTS

We’d like to hear from you!