Brian McDonald wrote:
Gregory Brauer wrote:
Is it possible to get the results of a status command to stdout
from a command line command? I'm looking for something like:
bconsole -c "status client=foo-fd"
Sure.
cartman# echo "status client=cartman-fd" | bconsole
Well, that was obvious, but for some reason I didn't try it. I
guess with the way bacula hangs on to the terminal (4 Ctrl-C's
to quit) I figured that wouldn't notice the lack of stdin and
never exit.
Thanks!
Greg
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users