Job Duration Predictor jobs
A Job Duration Predictor forecasts the duration of jobs.
The Job Duration Predictor job is a powerful analytical tool based on Artificial Intelligence (AI) algorithms for the prediction of estimated job durations. Use the Job Duration Predictor job type to monitor jobs and predict their duration.
A description of the job properties and valid values are detailed in the context-sensitive help in the Dynamic Workload Console by clicking the question mark (?) icon in the top-right corner of the properties pane.Attribute | Description and value | Required |
---|---|---|
Server URL | A variable that specifies the web address of
HCL Workload Automation master server. You can override this variable with the web
address of the master server and any HCL Workload Automation backup master (in case the master is not available). Use a
comma or a semicolon to separate the different addresses that
you specify. If you do not override this variable at job definition time, the variable is resolved automatically at job execution time. In this case, if the connection to the master server is not available, the plug-in tries to connect automatically to any of the backup masters. |
✓ |
User | The user to be used for accessing the HCL Workload Automation master server. | |
Password | The password to be used for accessing the HCL Workload Automation master server. | Required if you specify a user name. |
Job duration train | Select it to train jobs and adjust predictions about job duration. | |
Job duration predictor | Select it to predict job duration. |
jdp_agent
<?xml version="1.0" encoding="UTF-8"?>
<jsdl:jobDefinition xmlns:jsdl="http://www.ibm.com/xmlns/prod/scheduling/1.0/jsdl" xmlns:jsdljobdurationpredictor="http://www.ibm.com/xmlns/prod/scheduling/1.0/jsdljobdurationpredictor" name="JOBDURATIONPREDICTOR">
<jsdl:application name="jobdurationpredictor">
<jsdljobdurationpredictor:jobdurationpredictor>
<jsdljobdurationpredictor:JobDurationPredictorParameters>
<jsdljobdurationpredictor:Connection>
<jsdljobdurationpredictor:serverurl>${agent-config:master-address}</jsdljobdurationpredictor:serverurl>
<jsdljobdurationpredictor:user>USER</jsdljobdurationpredictor:user>
<jsdljobdurationpredictor:password>{aes}VxXAQdVgVA93z/aKEGHuLPlPryafKy18zPH3Srb2hZA=/jsdljobdurationpredictor:password>
</jsdljobdurationpredictor:Connection>
<jsdljobdurationpredictor:Action>
<jsdljobdurationpredictor:modeGroup>
<jsdljobdurationpredictor:jobDurationTrainer/>
</jsdljobdurationpredictor:modeGroup>
</jsdljobdurationpredictor:Action>
</jsdljobdurationpredictor:JobDurationPredictorParameters>
</jsdljobdurationpredictor:jobdurationpredictor>
</jsdl:application>
</jsdl:jobDefinition>
The
following example shows the job definition for a Job Duration Predictor
job:jdp_agent
<?xml version="1.0" encoding="UTF-8"?>
<jsdl:jobDefinition xmlns:jsdl="http://www.ibm.com/xmlns/prod/scheduling/1.0/jsdl" xmlns:jsdljobdurationpredictor="http://www.ibm.com/xmlns/prod/scheduling/1.0/jsdljobdurationpredictor" name="JOBDURATIONPREDICTOR">
<jsdl:application name="jobdurationpredictor">
<jsdljobdurationpredictor:jobdurationpredictor>
<jsdljobdurationpredictor:JobDurationPredictorParameters>
<jsdljobdurationpredictor:Connection>
<jsdljobdurationpredictor:serverurl>${agent-config:master-address}</jsdljobdurationpredictor:serverurl>
<jsdljobdurationpredictor:user>USER</jsdljobdurationpredictor:user>
<jsdljobdurationpredictor:password>{aes}actN5AgTI+vFyd8dXiKoJg40n4fEqfvvmZpzPNCZxZc=</jsdljobdurationpredictor:password>
</jsdljobdurationpredictor:Connection>
<jsdljobdurationpredictor:Action>
<jsdljobdurationpredictor:modeGroup>
<jsdljobdurationpredictor:jobDurationPredictor/>
</jsdljobdurationpredictor:modeGroup>
</jsdljobdurationpredictor:Action>
</jsdljobdurationpredictor:JobDurationPredictorParameters>
</jsdljobdurationpredictor:jobdurationpredictor>
</jsdl:application>
</jsdl:jobDefinition>
Scheduling a job in HCL Workload Automation
You schedule Job Duration Predictor jobs by defining them in job streams. Add the job to a job stream with all the necessary scheduling arguments and submit it.
You can submit jobs by using the Dynamic Workload Console, Application Lab, or the conman command line.
Stopping and restarting a job
Stopping and restarting a Job Duration Predictor job are not supported.
Job properties
For information about how to display the job properties from the various
supported interfaces, see Analyzing the job log
. For example, you can see
the job properties by running conman sj <job_name>;props
,
where<job_name> is the Job Duration Predictor job name.
Job log content
You can see the job log content by running conman sj
<job_name>;stdlist
, where <job_name> is the
Job Duration Predictor job name.
See also
From the Dynamic Workload Console you can perform the same task as described in
For more information about how to create and edit scheduling objects, see