Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM 6.4 Scheduler

Level 2
Level 2

Hi All,

We have a requirement where we want to create a scheduled job which have below configurations

-  Only one scheduled job at a time and prevents other schedules to start

-  Can able to specify the maximum time for a schedule

-  check if schedule is currently running or not

- Able to terminate the scheduler if something went wrong

To achieve the #1 I have used Scheduler API concurrency configuration and for #2 I was trying to use "PROPERTY_SCHEDULER_TIMES" but unable to set the property correctly.

It will be helpful if anyone can help me to achieve #2 to #4 and share the code snippet.

Thank you.



0 Replies