diff --git a/sched/transitioner_catchup.php b/sched/transitioner_catchup.php index be47094e45..ee0f6c4df2 100755 --- a/sched/transitioner_catchup.php +++ b/sched/transitioner_catchup.php @@ -18,7 +18,9 @@ // You should have received a copy of the GNU Lesser General Public License // along with BOINC. If not, see . -require_once("html/inc/boinc_db.inc"); +chdir("html/ops"); +require_once("../inc/boinc_db.inc"); +chdir("../.."); // script to let transitioners catch up, then run start @@ -28,7 +30,9 @@ function catchup() { $wus = BoincWorkunit::enum("transition_time<$now limit 1"); if (count($wus) == 0) break; echo "Some WUs need transition - running transitioner.\n"; - system("bin/transitioner --one_pass"); + $ret = system("bin/transitioner --one_pass"); + echo "ret: $ret\n"; + sleep(1); } echo "Transitioner is caught up.\n"; }