Changeset 2300
- Timestamp:
- 09/07/06 05:31:28 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/bin/retrieve_backup_cron_from_mysql.pl
r2299 r2300 66 66 print "No Backup Schedules defined in $table_name\n"; 67 67 #grab any other cronjobs that are running as asterisk and NOT associated with backups 68 system ("/usr/bin/crontab -l | grep -v ^#\ DO\ NOT | grep -v ^#\ \( /| grep -v ampbackup.pl >> $Backup_cron ");68 system ("/usr/bin/crontab -l | grep -v ^#\ DO\ NOT | grep -v ^#\ \( | grep -v ampbackup.pl >> $Backup_cron "); 69 69 #issue the schedule to the cron scheduler 70 70 system ("/usr/bin/crontab $Backup_cron"); … … 78 78 } 79 79 #grab any other cronjobs that are running as asterisk and NOT associated with backups 80 system ("/usr/bin/crontab -l | grep -v ^#\ DO\ NOT | grep -v ^#\ \( /| grep -v ampbackup.pl >> $Backup_cron ");80 system ("/usr/bin/crontab -l | grep -v ^#\ DO\ NOT | grep -v ^#\ \( | grep -v ampbackup.pl >> $Backup_cron "); 81 81 #issue the schedule to the cron scheduler 82 82 system ("/usr/bin/crontab $Backup_cron");
