Lines Matching refs:job
307 function getLastScheduledRunTime($job) { argument
310 $this->parseElement($job[PC_MINUTE], $extjob[PC_MINUTE], 60);
311 $this->parseElement($job[PC_HOUR], $extjob[PC_HOUR], 24);
312 $this->parseElement($job[PC_DOM], $extjob[PC_DOM], 31);
313 $this->parseElement($job[PC_MONTH], $extjob[PC_MONTH], 12);
314 $this->parseElement($job[PC_DOW], $extjob[PC_DOW], 7);
316 $dateArr = getdate($this->getLastActualRunTime($job[PC_CMD]));
365 function runJob($job) { argument
368 $lastActual = $job["lastActual"];
369 $lastScheduled = $job["lastScheduled"];
372 $this->logMessage("Running ".$job[PC_CRONLINE]);
376 …include(DOKU_PLUGIN.$this->pluginname."/jobs/".$job[PC_CMD]); // display errors only when debuggi…
378 …@include(DOKU_PLUGIN.$this->pluginname."/jobs/".$job[PC_CMD]); // any error messages are supressed
381 $this->markLastRun($job[PC_CMD], $lastScheduled);
382 $this->logMessage(" Completed ".$job[PC_CRONLINE]);
384 …mail($this->sendLogToEmail, "[".$this->dokuwikititle."][".$this->pluginname."] ".$job[PC_COMMENT],…
389 $this->logMessage("Skipping ".$job[PC_CRONLINE]);
391 $this->logMessage(" Completed ".$job[PC_CRONLINE]);
401 $job = Array();
407 …*]+)\\s+([-0-7,/*]+|(-|/|Sun|Mon|Tue|Wed|Thu|Fri|Sat)+)\\s+([^#]*)\\s*(#.*)?$~i",$file[$i],$job)) {
409 $jobs[$jobNumber] = $job;
416 $jobs[$jobNumber][PC_CMD] = trim($job[PC_CMD]);
417 $jobs[$jobNumber][PC_COMMENT] = trim(substr($job[PC_COMMENT],1));