Bacula-users

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

2010-02-06 15:33:26
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:30:28 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/02/2010 20:47, Markus Falb wrote:
> 
> i tried a admin job:
> 
> job {
>       ...
>       type = admin
>       ...
>       run = "jobX"
>       run = "jobY"
>       ...
> }
> 

I failed to say that above does not work. The Jobs does not run.
Only the other variant with "run after job" (below) does work.

> 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"
>       ...
> }
> 
> Why is that. Are not all job Directives supposed to work with admin jobs ?
> 

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

iEYEARECAAYFAktt0WQACgkQYoWFBIJE9eW84ACdGY8zSJ/Grt0cKBHL2t0dJ1mG
7oEAn1ro5/jBBmY5vAOgLdxRpv64V57X
=IfG0
-----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>