ESP Workload Automation

 View Only

 Ad-hoc run jobs

vinothini G's profile image
vinothini G posted Mar 17, 2024 12:39 PM

Hi Friends,

I have a job(say for ex JOBA) scheduled in ESP as below,
01.00 ON 5TH-12TH Monday Tuesday Wednesday Thursday Friday.
If a user wants to run the above job (say for ex 30th of month) as an adhoc request,What if they trigger the event outside of that period?
will the job actually gets triggered?
How adhoc requests are handled for these type of trigger?

Thanks,
Vinothini

Chris_Elvin's profile image
Broadcom Employee Chris_Elvin

Hi

The trick is to use the "root jobs" attribute in the event trigger.  Jobs that are named as root jobs are selected regardless of the run frequency statements in the job definition

I used the following APPL to test out the behaviour

APPL TEST1
 
JOB TASK1 TASK SELFCOMPLETING
   RUN 5TH-12TH DAY OF MONTH
   NORUN WEEKENDS
ENDJOB
 
When I simulate this for a saturday, I get no jobs selected - as expected.

When I add in TASK1 as a "rootjob" to the event trigger, the job TASK 1 does get selected