فهرست منبع

Update execution condition

Abdullah Almsaeed 8 سال پیش
والد
کامیت
b26aa14751
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      tripal_core/api/tripal_core.jobs.api.inc

+ 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);