public boolean pauseQuartzJob ( String jobName , String jobGroupName ) { try { this . scheduler . pauseJob ( new JobKey ( jobName , jobGroupName ) ) ; return true ; } catch ( SchedulerException e ) { logger . error ( "error pausing job: " + jobName + " in group: " + jobGroupName , e ) ; } return false ; }
Pause the job with given name in given group