Ben,

you're right, it's directing in a bash script direction. So, coming
back to bacula, I'd better like to find a way of communication between
a ClientRunBeforeJob error and the Termination/mail-subject. With such
a solution tinkering around with every script would be obsolete.

Your trick did not work though.

Oliver

> 
> Hi Oliver,
> 
> Replying off-list as it's not of general relevance...
> 
> I have a similar script that used this pattern.  I ended up modifying
> it to do:
> 
> > for i in `cat list.txt`
> > do
> > 
> >  /usr/bin/mysqldump $i 
> > 
> >    if [ $? != 0 ]; then
> 
>       exitcode=1
> > 
> >    fi
> > 
> > done
> > 
> 
> exit $exitcode
> 
> 
> I didn't want a failure in one dump to prevent dumping the other
> db's.  Maybe this is just simplified for email, so forgive me if
> you're already handling this.
> 
> HTH.
> 
> Thanks
> -Ben
> --
> Ben Walton
> Systems Programmer - CHASS
> University of Toronto
> C:416.407.5610 | W:416.978.4302
> 
> 


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to