Hello All,
We need to provide an option from UI for the business to manage the scheduled jobs.
Users should be able to see the scheduled jobs, reschedule, and cancel the jobs.
I am using the Scheduler class to schedule the jobs.
ScheduleOptions options = scheduler.EXPR("0 55 16 * * ?");
options.canRunConcurrently(false);
options.name("Test Job");
final Runnable job3 = new Runnable() {
@Override
public void run() {
LOGGER.debug("Executing Test Job");
pullPR();
}
};
this.scheduler.schedule(job3,options);
I am looking for APIs to retrieve the scheduled jobs and manage them. Any help would be much appreciated.
Thank you!!