Schedules with a Calendar do not properly recalculate next run in the Monitor for the JSCH.

Document ID : KB000087896
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

Schedules with a Calendar do not properly recalculate "Next start time"  in the Monitor when the start time is already past and task status is ENDED_TIMEOUT.  The date is being set to the same day as the start time, which is already in the past.

For example, if the schedule is started on a Monday and the used calendar keyword has Monday set, the next start date for a task with status ENDED_TIMEOUT will show the current day and not the next day.

Investigation

Note: This example was for 6/1, a Monday

        1. Create a JSCH
        2. Create a dummy JOBS
        3. Create a CALE with the Weekly Keyword. Set the days to Monday-Saturday (Omit Sunday).
        4. Add the JOBS to the JSCH with a time that is already past (ex. 00:15)
        5. Add the CALE to the task properties of the JOBS in the JSCH.
        6. Execute the JSCH
        7. Open the Monitor for the JSCH
        8. Right click on the JOBS that should be in ENDED_TIMEOUT and choose modify schedule - recalculate next start time.
            Expected Behavior: The next start time would be 6/2 (tomorrow) 
            Seen Behavior: The next start time is 6/1.
        9. Modify the CALE to have the weekly keyword just be Tuesday.
        10. Quit and replicate steps 6 - 8.     
              Expected Behavior: The next start would be 6/2 (tomorrow)
              Seen Behavior: The next start time is 6/2 (tomorrow)
        11. Modify the CALE to have the weekly keyword just be Monday
        12. Quit and replicate steps 6-8.
              Expected Behavior: The next start would be 6/8.
              Seen Behavior: The next start is 6/1.
Cause:
Cause type:
Defect
Root Cause: If a schedule has the next start time calculated, under some circumstances the next start time will show the same day. This appears to just be visual in nature.
Resolution:
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Automation Engine 11.2.2 - Available
Automation Engine 11.1.3 - Available
Automation Engine 10.0.8 - Available
Additional Information:
Workaround :
N/A