mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-30 07:35:59 +00:00
6f1197d633
HG : Enter commit message. Lines beginning with 'HG:' are removed.
31 lines
No EOL
503 B
PHP
31 lines
No EOL
503 B
PHP
<?php
|
|
|
|
set_time_limit(900); // should not exceed 15 minutes
|
|
|
|
define('NELTOOL_NO_USER_NEEDED', true);
|
|
|
|
require_once('../common.php');
|
|
require_once('../functions_tool_main.php');
|
|
|
|
$params = array();
|
|
|
|
reset($argv);
|
|
foreach($argv as $sValue)
|
|
{
|
|
if (strpos($sValue, '=') !== false)
|
|
{
|
|
$aData = explode('=', $sValue);
|
|
$params[$aData[0]] = $aData[1];
|
|
}
|
|
}
|
|
|
|
if (isset($params['restart_id']) && isset($params['services']))
|
|
{
|
|
while (true)
|
|
{
|
|
print_r($params);
|
|
sleep(10);
|
|
}
|
|
}
|
|
|
|
?>
|