Changeset 255
- Timestamp:
- 06/26/07 12:01:28 (1 year ago)
- Files:
-
- trunk/webmin/lsc/include/command_launcher.inc.php (modified) (2 diffs)
- trunk/webmin/lsc/include/scheduler.inc.php (modified) (1 diff)
- trunk/webmin/lsc/repository.cgi (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/webmin/lsc/include/command_launcher.inc.php
r250 r255 176 176 lsc_command_on_host_set_executed_state($this->id_command_on_host, "WORK_IN_PROGRESS"); 177 177 178 // Make go to directory command 179 if ($this->command->path_destination == "") { 178 // Go to destination directory 179 if ($this->command->path_destination == "none") { 180 // Quick launch: no file copy needed 180 181 $start_command = sprintf($this->command->start_file." ".$this->command->parameters); 181 182 } else { … … 292 293 293 294 unset($output);unset($return_var);unset($return_var);unset($stdout);unset($stderr); 294 $tries = 3;295 $tries = 6; 295 296 do { 296 297 $dir = clean_path($this->session->root_path.$this->command->path_destination); trunk/webmin/lsc/include/scheduler.inc.php
r250 r255 194 194 195 195 $path_source = ""; 196 $path_dest = " ";196 $path_dest = "none"; 197 197 $files = array(); 198 198 $create_delete = false; trunk/webmin/lsc/repository.cgi
r250 r255 274 274 ($repository_start_date!="d?s que possible" && $repository_start_date!="ASAP" ) 275 275 ) { 276 list($date, $time) = split(" ?", $repository_start_date);276 list($date, $time) = split(" [^ ]* ", $repository_start_date); 277 277 list($day, $month, $year) = split("-", $date); 278 278 $start_date = $year."-".$month."-".$day." ".$time.":00"; … … 284 284 ($repository_end_date!="aucune" && $repository_end_date!="none") 285 285 ) { 286 list($date, $time) = split(" ?", $repository_end_date);286 list($date, $time) = split(" [^ ]* ", $repository_end_date); 287 287 list($day, $month, $year) = split("-", $date); 288 288 $end_date = $year."-".$month."-".$day." ".$time.":00";
