Quartz Job Scheduler

Contents | ‹ Prev | Next ›

How-To: Placing a Scheduler in Stand-by Mode

Placing a Scheduler in Stand-by Mode


// start() was previously invoked on the scheduler

scheduler.standby();

// now the scheduler will not fire triggers / execute jobs

// ...

scheduler.start();

// now the scheduler will fire triggers and execute jobs