Bacula-users

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

2010-02-06 14:50:04
Subject: [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 20:47:02 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


i tried a admin job:

job {
        ...
        type = admin
        ...
        run = "jobX"
        run = "jobY"
        ...
}

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/

iEYEARECAAYFAkttxzYACgkQYoWFBIJE9eVrIgCgnaNCvI9hWn5jfsV/NJMe5l0t
m+8An1v79BxYHmT4ekxhH04t3HvWKKnx
=2+Qi
-----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>