>That’s because the shell interprets the * glob but bacula doesn’t. >The shell will replace "/var/lib/bacula/*.bsr" with a list of matching >file names (if these files exists) while bacula will send the string >as is to the program. The solution is to put your command into a >shell script and execute the shell script from bacula.
Thanks everyone, It does work fine in a shell script. One thing left that is odd, if I don’t specify "where" to run it, it does run by default on the dir in this case and functions properly in the sense that if there is an error, the job fails as specified. If I specify "RunsOnClient = No" for the sake of clarity, even with "FailJobOnError = Yes" if the shell script bombs the job reports success. Why when I don't specify the location does it behave as expected and report an error if the script fails? Thanks! jlc ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users