Hi,
we have the following scenario in our envt, where BOX is scheduled to run from Mo to Fr at 7AM, and it has 1 job which is scheduled to run from tu to sat at 6AM. SO on Monday (7th Sept), box comes to active at 7AM. Since job inside that box is scheduled to run at 6AM on tuesday, so, box keeps in running state till that job runs successfully on tuesday at 6AM. and BOX completed successfully on Tuesday at 6AM. till now, i am fine with this. but i am not getting the next iteration (Tuesday's behaviour).
so in the above scenario, on Tuesday (8th Sept) since box comes in to active state at 7am, and job inside box is scheduled to start at 6am tuesday, so why the job didnt run for Tuesday at 6am? why it is waiting for Wednesday 6AM.
As per my understanding, as soon as BOX comes to active state, job inside those box will start running if any of the job met its starting condition, so on tuesday, both box and job met its condition and should start running. But this is happening only for BOX job not the job inside that box.
Below is the details along with snapshot.
insert_job: BOX job_type: box
date_conditions: y
days_of_week: mo,tu,we,th,fr
start_times: "07:00"
insert_job: NEXTDAY job_type: cmd
box_name: BOX
date_conditions: y
days_of_week: tu,we,th,fr,sa
start_times: "06:00"
send_notification: n
command: dir
Previous run - 7th Sept
Job Name Last Start Last End ST Run/Ntry Pri/Xit
________________________________________________________________ ____________________ ____________________ __ ________ _______
BOX 09/07/2015 07:00:00 09/08/2015 06:00:01 SU 22251/1 0
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- --------------------- ----------------------------------------
RUNNING 09/07/2015 07:00:00 1 PD 09/07/2015 07:00:00
SUCCESS 09/08/2015 06:00:01 1 PD 09/08/2015 06:00:02
[STARTJOB] 09/08/2015 07:00:00 0 PD 09/08/2015 07:00:00
<Event was scheduled based on job definition.>
NEXTDAY 09/08/2015 06:00:00 09/08/2015 06:00:00 SU 22251/1 0
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- --------------------- ----------------------------------------
STARTING 09/08/2015 06:00:00 1 PD 09/08/2015 06:00:00 SAPPRD
RUNNING 09/08/2015 06:00:00 1 PD 09/08/2015 06:00:01 SAPPRD
<Executing at WA_AGENT>
SUCCESS 09/08/2015 06:00:00 1 PD 09/08/2015 06:00:01 SAPPRD
[STARTJOB] 09/09/2015 06:00:00 0 UP
<Event was scheduled based on job definition.>
New Run - 8th Sept
Job Name Last Start Last End ST Run/Ntry Pri/Xit
________________________________________________________________ ____________________ ____________________ __ ________ _______
BOX 09/08/2015 07:00:00 ----- RU 24748/1
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- --------------------- ----------------------------------------
RUNNING 09/08/2015 07:00:00 1 PD 09/08/2015 07:00:01
NEXTDAY ----- 09/08/2015 06:00:00 AC 24748/0
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- --------------------- ----------------------------------------
[STARTJOB] 09/09/2015 06:00:00 0 UP
<Event was scheduled based on job definition.>