public synchronized boolean pauseJobIfPresent ( final String jobName , final String groupName ) throws SchedulerException { if ( ifJobExist ( jobName , groupName ) ) { this . scheduler . pauseJob ( new JobKey ( jobName , groupName ) ) ; return true ; } else { return false ; } }
Pause a job if it s present .