mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Start the system monitoring process as well
This commit is contained in:
@@ -45,6 +45,14 @@ include (realpath(dirname(__FILE__) . "/../db.inc.php"));
|
|||||||
include (realpath(dirname(__FILE__) . "/../functions/functions.process.php"));
|
include (realpath(dirname(__FILE__) . "/../functions/functions.process.php"));
|
||||||
|
|
||||||
//end any other process
|
//end any other process
|
||||||
|
$p = is_process_running(2);
|
||||||
|
if ($p)
|
||||||
|
{
|
||||||
|
kill_process($p);
|
||||||
|
end_process($p);
|
||||||
|
}
|
||||||
|
start_process(realpath(dirname(__FILE__) . "/../admin/systemsortprocess.php"),2);
|
||||||
|
|
||||||
|
|
||||||
$p = is_process_running();
|
$p = is_process_running();
|
||||||
if ($p)
|
if ($p)
|
||||||
@@ -54,4 +62,5 @@ if ($p)
|
|||||||
}
|
}
|
||||||
start_process(realpath(dirname(__FILE__) . "/../admin/process.php"));
|
start_process(realpath(dirname(__FILE__) . "/../admin/process.php"));
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user