Bacula-users

Re: [Bacula-users] admin job - "run" directive

2010-02-06 15:12:49
Subject: Re: [Bacula-users] admin job - "run" directive
From: Markus Falb <markus.falb AT fasel DOT at>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 06 Feb 2010 21:09:53 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/02/2010 20:47, Markus Falb wrote:

> what does work (but is much more error prone) is:
> 
> job {
>       ...
>       type = admin
>       ...
>       run after job = "/bin/bash -c "/bin/echo 'run job=jobX yes' \|
> /usr/sbin/bconsole"
>       run after job = "/bin/bash -c "/bin/echo 'run job=jobY yes' \|
> /usr/sbin/bconsole"
>       ...
> }

Not that i was too eager to prove why it could be error prone. I pasted
a not working version of the run after jobs but it was not by intention.
Welcome to quoting hell ;-)

        run after job = "/bin/bash -c \"/bin/echo 'run job=jobX yes' \|
/usr/sbin/bconsole\""

- -- 
best regards,
markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkttzJEACgkQYoWFBIJE9eXIJgCgjnCYu90PTyyXYtGUIEIFXl4U
B1EAmQEdIS96y11wHKcnlrGKjhKNwYMY
=2zBl
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>