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
> 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.

Why not inverse the logic and make Bacula run your backup script as an
admin job?  You could then schedule it to run when no other jobs are
run.

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to