Changeset 7097 for modules/branches
- Timestamp:
- 10/22/08 08:10:04 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.6/backup/schedule_functions.php
r7095 r7097 269 269 die_freepbx($result->getMessage()); 270 270 } 271 needreload(); 271 //$Cron_Script=$asterisk_conf['astvarlibdir']."/bin/retrieve_backup_cron.php"; 272 //exec($Cron_Script); 273 //TODO: should we check and act on false return 274 backup_retrieve_backup_cron(); 272 275 } 273 276 function Save_Backup_Schedule($Backup_Parms, $backup_options ) … … 300 303 die_freepbx($result->getMessage().'<hr>'.$sql); 301 304 } 302 303 needreload(); 305 //$Cron_Script=$asterisk_conf['astvarlibdir']."/bin/retrieve_backup_cron.php"; 306 //exec($Cron_Script); 307 backup_retrieve_backup_cron(); 308 304 309 } 305 310 function Get_Backup_String($name, $backup_schedule, $ALL_days, $ALL_months, $ALL_weekdays, $mins="", $hours="", $days="", $months="", $weekdays="") {
