JobManager.reloadCrashedJobs fails to reload crashed jobs
---------------------------------------------------------
Key: OFBIZ-2974
URL: https://issues.apache.org/jira/browse/OFBIZ-2974
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: SVN trunk
Reporter: Scott Gray
Priority: Critical
The JobManager.reloadCrashedJobs() method fails to reload most crashed jobs
each time it is run, this occurs for two reasons:
1. The method only supports reloading jobs that have a related RecurrenceInfo,
if it has no recurrence information or if it uses the newer temporal
expressions then the job is passed over and not reloaded
2. If the job does have a related RecurrenceInfo then the method checks to see
if the next recurrence from now is less than the runTime of the crashed job,
this is almost never the case so once again the job isn't reloaded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.