View Single Post
  #46  
Old 30th May 2010, 20:19
Torch_za Torch_za is offline
Junior Member
 
Join Date: Apr 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default Not the problem ..

Mail on all servers runs just fine... it has to... they are production servers.

If I run the (modified - variables are substituted) line from a shell, it runs and the mail is sent. It's the back-res script that does not seem to fire the line...

The safe tail of the trace (set -x)


+ echo '2010-05-30 19:12:48 - back-res - Daily backup for /var done.'
+ rm -rf /backup/tmpbck/full-backup_var.lck
+ rm -rf /backup/tmpbck/excluded
+ log 'All backup jobs done. Exiting script!'
++ date '+%Y-%m-%d %H:%M:%S'
+ acum='2010-05-30 19:12:48'
+ '[' -e /backup/server.domain.tld/log/backup.log ']'
++ basename ./back-res
+ echo '2010-05-30 19:12:48 - back-res - All backup jobs done. Exiting script!'
++ basename ./back-res
+ echo '2010-05-30 19:12:48 - back-res - All backup jobs done. Exiting script!'
+ exit 1


As you can see the line is never reached or executed...

Last edited by Torch_za; 30th May 2010 at 20:52.
Reply With Quote