Bacula-users

[Bacula-users] command to check if bacula is running?

2013-06-27 11:49:01
Subject: [Bacula-users] command to check if bacula is running?
From: Joseph Spenner <joseph85750 AT yahoo DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 27 Jun 2013 08:45:48 -0700 (PDT)
Is there a simple command line way to determine if bacula is not currently running any jobs?
I want to write a script to perform some other backups of the bacula database, but want to make sure it's not currently running.

I was thinking something like:

# echo "status director" |bconsole
  (and maybe 'grep' for something which would/wouldn't be there when the bacups are running.

Any ideas would be great.

Thanks!


 
If life gives you lemons, keep them-- because hey.. free lemons.
"~heart~ Sticker"  fixer:  http://microflush.org/stuff/stickers/heartFix.html
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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>