예제 #1
0
function exec_openvz_tc()
{
    lxshell_background("sh", "__path_program_etc/openvz_tc.sh");
}
예제 #2
0
파일: lxdb.php 프로젝트: soar-team/kloxo
 static function exec_livemigrate($class, $name, $param)
 {
     lxshell_background("__path_php_path", "../bin/common/livemigrate.php", "--priority=low", "--class={$class}", "--name={$name}", "--v-syncserver={$param['syncserver']}");
 }
예제 #3
0
파일: lib.php 프로젝트: lonelywoolf/hypervm
function exec_justdb_collectquota()
{
    lxshell_background("__path_php_path", "../bin/collectquota.php", "--just-db=true");
}
예제 #4
0
function start_portmonitor()
{
    dprint("Starting portmonitor\n");
    system("pkill -f lxportmonitor.php");
    lxshell_background("__path_php_path", "../bin/common/lxportmonitor.php", "--data-server=localhost");
}
예제 #5
0
 static function execUpdate()
 {
     lxshell_background("__path_php_path", "../bin/update.php");
 }
예제 #6
0
파일: kloxo.php 프로젝트: zseand/kloxo
function execSisinfoc()
{
    dprint("execing sisinfoc\n");
    lxshell_background("__path_php_path", "../bin/sisinfoc.php");
}
예제 #7
0
파일: kloxo.php 프로젝트: soar-team/kloxo
function execSisinfoc()
{
    log_log("cron_exec", "Starting SISInfoC\n");
    lxshell_background("__path_php_path", "../bin/sisinfoc.php");
}
예제 #8
0
 static function execbackupphp($class, $name, $param)
 {
     foreach ($param as $k => $v) {
         if (csb($k, "backupextra_")) {
             $string[] = "--v-{$k}={$v}";
         }
     }
     $fname = $param['backup_to_file_f'];
     $fname = str_replace(";", "", $fname);
     $fname = str_replace("/", "", $fname);
     lxshell_background("__path_php_path", "../bin/common/backup.php", "--class={$class}", "--name={$name}", "--v-backup_file_name={$fname}", $string[0]);
 }