getschedule
The jobManager getschedule command retrieves the schedule for a global aggregate job.
Purpose
Use the jobManager getschedule command to retrieve the schedule for a job that is already started or is in the queue to be started.
The command returns a schedule that
is in the same form as the following example:
schedule:
minute: 10
hour: 10
month: *
weekday: *
day of month: *
A job with this schedule is run every
day of every month at 10:10 a.m.Syntax
jobManager getschedule job_name solution_name
[--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 |
|---|---|
| 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. |
Example
The following example retrieves the schedule for the myjob global aggregate job.jobManager getschedule defvarmyjob iaTest --username=JDoe --password=secret --trustStorePassword=test