Changeset 7097 for modules/branches

Show
Ignore:
Timestamp:
10/22/08 08:10:04 (5 years ago)
Author:
mbrevda
Message:

closes #3261 - dont set cron backups on submit. instead wait for reload.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/backup/schedule_functions.php

    r7095 r7097  
    269269                die_freepbx($result->getMessage()); 
    270270        } 
    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(); 
    272275} 
    273276function Save_Backup_Schedule($Backup_Parms, $backup_options ) 
     
    300303                die_freepbx($result->getMessage().'<hr>'.$sql); 
    301304        } 
    302  
    303   needreload(); 
     305  //$Cron_Script=$asterisk_conf['astvarlibdir']."/bin/retrieve_backup_cron.php"; 
     306  //exec($Cron_Script); 
     307  backup_retrieve_backup_cron(); 
     308   
    304309} 
    305310function Get_Backup_String($name, $backup_schedule, $ALL_days, $ALL_months, $ALL_weekdays, $mins="", $hours="", $days="", $months="", $weekdays="") {