Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
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.