Launch the scheduler with a lower priority (10) instead of hte default (0)

This commit is contained in:
james 2006-10-25 03:25:31 +00:00
parent b65316c32e
commit 95dc9eea5b

View File

@ -1,5 +1,5 @@
<? <?
exec("php judges_sa.php >/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 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"); header("Location: judges_scheduler_status.php");
?> ?>