Hi Ashish,
When the box fails, it will not stay in FAILURE and will not run again until you change its status to SUCCESS.
The box will be in FAILURE status at 09:40 AM unless you make change to its status to SUCCESS. You can use the sendevent to change its status.
Here is an example box that will run every 5 minutes from 9:00AM to 5 PM every day:
insert_job: jbox001 job_type: BOX
date_conditions: 1
days_of_week: all
start_mins: 0, 5,10,15,20,25,30,35,40,45,50,55
run_window: "9:00-17:00"
condition: s(jbox001)
alarm_if_fail: 1
Regards,
Jack