private void modifyJob(final String jobName, final boolean enabled) {
        final FindJobNodeCriteria criteria = new FindJobNodeCriteria();
        criteria.getJobName().setString(jobName);

        final ResultPage<JobNode> jobNodes = jobNodeDao.find(criteria);
        for (final JobNode jobNode : jobNodes.getValues()) {
            jobNode.setEnabled(enabled);
            AuditUtil.stamp(securityContext, jobNode);
            jobNodeDao.update(jobNode);
        }
    }
Used to set the job command for all job instances associated with the
specified job name.

@param jobName The name of the job that the job instances are associated
               with.
stroom-job/stroom-job-impl/src/main/java/stroom/job/impl/JobManagerImpl.java