Class JobSchedulerService
java.lang.Object
fr.paris.lutece.portal.service.scheduler.JobSchedulerService
JobSchedulerService
-
Method Summary
Modifier and TypeMethodDescriptionstatic JobSchedulerServiceGets the unique instance of the servicescheduleJob(org.quartz.JobDetail job, org.quartz.CronTrigger trigger) Schedule a job according cron informationstatic voidshutdown()Shutdown the service (Called by the core while the webapp is destroyed)
-
Method Details
-
getInstance
Gets the unique instance of the service- Returns:
- The service's instance
-
scheduleJob
Schedule a job according cron information- Parameters:
job- The Job to scheduletrigger- The Cron trigger- Returns:
- Date
-
shutdown
public static void shutdown()Shutdown the service (Called by the core while the webapp is destroyed)
-