forked from science-ation/science-ation
Launch the scheduler with a lower priority (10) instead of hte default (0)
This commit is contained in:
parent
b65316c32e
commit
95dc9eea5b
@ -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");
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user