Class JobSchedulerService
- java.lang.Object
-
- fr.paris.lutece.portal.service.scheduler.JobSchedulerService
-
public final class JobSchedulerService extends Object
JobSchedulerService
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobSchedulerServicegetInstance()Gets the unique instance of the serviceDatescheduleJob(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 Detail
-
getInstance
public static JobSchedulerService getInstance()
Gets the unique instance of the service- Returns:
- The service's instance
-
scheduleJob
public Date scheduleJob(org.quartz.JobDetail job, org.quartz.CronTrigger trigger)
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)
-
-