src/dird/job.c
static bool job_check_maxrunschedtime(JCR *jcr)
{
   if (jcr->MaxRunSchedTime == 0 || job_canceled(jcr)) {
      return false;
   }
   if ((watchdog_time - jcr->initial_sched_time) < jcr->MaxRunSchedTime) {
      Dmsg3(200, "Job %p (%s) with MaxRunSchedTime %d not expired\n",
            jcr, jcr->Job, jcr->MaxRunSchedTime);
      return false;
   }

   return true;
}
/*
 * Check if MaxRunSchedTime has expired and if the job can be
 *   canceled.
 */
Check if MaxRunSchedTime has expired and if the job can be
canceled.
Check if MaxRunSchedTime has expired and if the job can be canceled .
static bool job_check_maxrunschedtime(JCR *jcr)
{
   if (jcr->MaxRunSchedTime == 0 || job_canceled(jcr)) {
      return false;
   }
   if ((watchdog_time - jcr->initial_sched_time) < jcr->MaxRunSchedTime) {
      Dmsg3(200, "Job %p (%s) with MaxRunSchedTime %d not expired\n",
            jcr, jcr->Job, jcr->MaxRunSchedTime);
      return false;
   }
   return true;
}
static bool job_check_maxrunschedtime ( JCR * jcr ) { if ( jcr -> MaxRunSchedTime == 0 || job_canceled ( jcr ) ) { return false ; } if ( ( watchdog_time - jcr -> initial_sched_time ) < jcr -> MaxRunSchedTime ) { Dmsg3 ( 200 , " \n " , jcr , jcr -> Job , jcr -> MaxRunSchedTime ) ; return false ; } return true ; }
Check if MaxRunSchedTime has expired and if the job can be
   canceled.
Check if MaxRunSchedTime has expired and if the job can be canceled .