khanat-code-old/code/ryzom/tools/server/admin/scripts/restart_sequence.php
Fabien_HENON 11298004e9 Updating the world_editor_classes.xml file for the guild missions
- Adding new actions for guild missions
- Adding the guild option for some actions
- Adding the nb_guild_members_needed option for the objectives
2011-05-23 16:09:14 +02:00

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);
}
}
?>