From 95dc9eea5b7aab448f1e5ab8ce75bdeb44cd89d6 Mon Sep 17 00:00:00 2001 From: james Date: Wed, 25 Oct 2006 03:25:31 +0000 Subject: [PATCH] Launch the scheduler with a lower priority (10) instead of hte default (0) --- admin/judges_sa_launcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/judges_sa_launcher.php b/admin/judges_sa_launcher.php index f995bc9..8832481 100644 --- a/admin/judges_sa_launcher.php +++ b/admin/judges_sa_launcher.php @@ -1,5 +1,5 @@ /dev/null 2>&1 &"); +exec("nice php judges_sa.php >/dev/null 2>&1 &"); usleep(1000000); // 1 second to allow the judges_sa to update the % status to 0% otherwise the status page will think its not running if it gets there too soon header("Location: judges_scheduler_status.php"); ?>