RestartFailedJob
Configuration file |
None. But see section Automated Re-start of Selected Error Jobs. |
Class name |
com.ebd.hub.datawizard.customresp.RestartFailedJob |
Description
This class is able to restart one or more error jobs, which are currently shown in the error overview of the Control Center. It expects a list of job numbers of jobs to be restarted from the target structure of a management profile (i.e. the profile using this class in its Response). The class does not need a configuration file.
If the list of job numbers contains numbers that are not in the list of error jobs in the Control Center, they will be ignored. The class can only restart error jobs. By activating the logging for phase 6 (Custom) of the management profile, it is possible to get detailed information about the restarted jobs. Successfully restarted jobs will be removed from the error list in the Control Center. The job log of the restarted error job will contain an entry indicating the restart by another profile. An additional entry with timestamp will be left for the removal of the original job from the list of error jobs.