Changeset 2965

Show
Ignore:
Timestamp:
11/04/06 03:56:37 (7 years ago)
Author:
qldrob
Message:

And bugger it. Strip out _any_ comments in the file. This is related to r990, and I discovered that you needed a pile of baclskashes to escape the ( properly.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.2/backup/bin/retrieve_backup_cron_from_mysql.pl

    r2963 r2965  
    6666  print "No Backup Schedules defined in $table_name\n"; 
    6767  #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 ^#\ | grep -v ampbackup.pl  >> $Backup_cron "); 
    6969  #issue the schedule to the cron scheduler 
    7070  system ("/usr/bin/crontab $Backup_cron");