try {
jobList = jpaService.execute(new BundleJobsGetUnpausedJPAExecutor(-1));
if (jobList != null) {
for (BundleJobBean bundleJob : jobList) {
if ((bundleJob.getPauseTime() != null) && !bundleJob.getPauseTime().after(d)) {
new BundlePauseXCommand(bundleJob).call();
LOG.debug("Calling BundlePauseXCommand for bundle job = " + bundleJob.getId());
}
}
}
}