update
The jobManager update command updates the schedule for a global aggregate job.
Purpose
Use the jobManager update command to modify the schedule for a job that is already started or is in the queue to be started.
Use the on_time parameters to specify a restricted schedule. Use the other time parameters to specify a recurring schedule by time interval that starts immediately. If both types of parameters are specified, a recurring schedule is created, and the first execution occurs at the time that is specified by the on_time parameters.
The default for each of the on_time parameters is all. Therefore, you must specify a value for each time parameter that you want to change.
Syntax
jobManager update job_name solution_name
[--on_minute=value]
[--on_hour=value]
[--on_month=value]
[--on_weekday=value]
[--on_dayofmonth=value]
[--seconds=value]
[--minutes=value]
[--hours=value]
[--days=value]
[--weeks=value]
[--propertiesFile=properties_file]
[--host=hostname]
[--port=port]
[--username=username]
[--password=password]
[--keyStoreLocation=keystore_location]
[--keyStorePassword=keystore_password]
[--readTimeout=timeout_value]
[--sslProtocol=sslProtocol]
[--trustStoreLocation=truststore_path]
[--trustStorePassword=truststore_password]
[--disableSSLHostnameVerification=true|false]
[--disableServerCertificateVerification=true|false]
Description
| Mandatory parameter | Description |
|---|---|
| job_name | Name of the job. The name is the variable that is specified in the globalQueries.var file, and is the name of the global aggregate prefixed with defvar. |
| solution_name | Name of the solution. |
| Optional parameter | Description |
|---|---|
| on_minute | Specify an integer 0 - 59. Default is all. |
| on_hour | Specify an integer 0 - 23. Default is all. |
| on_month | Specify an integer 1 - 12. 1 is for January. 12 is for December. Default is all. |
| on_weekday | Specify an integer 0 - 6. 0 is for Sunday. 6 is for Saturday. Default is all. |
| on_dayofmonth | Specify an integer 1 - 31. Default is all. |
| seconds | Specify any integer. |
| minutes | Specify any integer. |
| hours | Specify any integer. |
| days | Specify any integer. |
| weeks | Specify any integer. |
| propertiesFile | Specify the path of a properties file from which to read properties. If not specified, this parameter defaults to the connection.properties file in the runtime/ia/etc/ folder. |
| host | Host name of the server. Default is localhost. |
| port | Https port of the server. Default is 9443. |
| username | The user name of a user who has the administrator role. |
| password | The password for a user who has the administrator role. |
| trustStoreLocation | Location of the truststore (javax.net.ssl.trustStore). Default is cisDev/resources/security/key.jks in the servers directory. |
| trustStorePassword | The password for remote Secure Sockets Layer (SSL) authentication. |
| disableSSLHostnameVerification | This parameter is used for remote connections only. If set to true, it disables SSL host name verification. If no value is specified, it defaults to the value in the properties file that is specified by the --propertiesFile parameter. If no value is specified by that parameter, it defaults to false. |
| disableServerCertificateVerification | This parameter is used to disable server certificate verification. If you set this parameter to true, the client does not check whether the certificate presented by the server is trusted. If the server is not trusted, authentication credentials and other user information might be passed on through the JMX connection. This parameter is optional. If not specified, it uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, it defaults to false. |
| keyStoreLocation | The location of the keystore. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, no keystore is used. |
| keyStorePassword | The keystore password. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, you are asked to provide a password interactively. |
| readTimeout | The amount of time expressed in milliseconds that the utility waits for a response from the server before closing a connection. This parameter is optional. If you do not specify a value, it uses the value that is specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, the default value is 60000 (1 minute). |
| sslProtocol | The SSL protocol for the connection. If you do not specify a value, this parameter uses the value in the properties file specified by the --propertiesFile option. If no value is specified on the command line or in the properties file, the value "TLSv1.2" is used. |
The default for each optional schedule parameter is all, as in typical cron jobs.
Examples
In the following example, a job is rescheduled to run every Monday at 12 noon.jobManager update defvarMyJob iaTest --on_weekday=1 --on_hour=12 --username=JDoe --password=secret --trustStorePassword=test
jobManager update defvarMyJob iaTest --minutes=30 --username=JDoe --password=secret --trustStorePassword=test
jobManager update defvarMyJob iaTest --on_weekday=1 --on_hour=12 --minutes=30 --username=JDoe --password=secret --trustStorePassword=test