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

2013-06-28 Thread Uwe Schuerkamp
On Thu, Jun 27, 2013 at 08:45:48AM -0700, Joseph Spenner wrote: 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

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

2013-06-27 Thread Joseph Spenner
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

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

2013-06-27 Thread Konstantin Khomoutov
On Thu, 27 Jun 2013 08:45:48 -0700 (PDT) Joseph Spenner joseph85...@yahoo.com wrote: 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