Эх сурвалжийг харах

Update execution condition

Abdullah Almsaeed 8 жил өмнө
parent
commit
b26aa14751

+ 1 - 1
tripal_core/api/tripal_core.jobs.api.inc

@@ -286,7 +286,7 @@ function tripal_execute_job($job_id, $redirect = TRUE) {
   $job = $results->fetchObject();
 
   // set the end time for this job
-  if ($job->start_time == 0 && $job->end_time == 0) {
+  if ($job->end_time == 0) {
     exec("drush trp-run-jobs --username=".$user->name." --root=".DRUPAL_ROOT."", $output);
 
     var_dump($output);