public final class JobSchedulerService extends Object
Modifier and Type | Method and Description |
---|---|
static JobSchedulerService |
getInstance()
Gets the unique instance of the service
|
Date |
scheduleJob(org.quartz.JobDetail job,
org.quartz.CronTrigger trigger)
Schedule a job according cron information
|
static void |
shutdown()
Shutdown the service (Called by the core while the webapp is destroyed)
|
public static JobSchedulerService getInstance()
public Date scheduleJob(org.quartz.JobDetail job, org.quartz.CronTrigger trigger)
job
- The Job to scheduletrigger
- The Cron triggerpublic static void shutdown()
Copyright © 2020 City of Paris. All rights reserved.