Hi,
> Why not something like 'echo "sta client=$1" | bconsole -c ... | grep
> -q ...' and check the return code? Much simpler and uses less resources.
>
executing it from command line (and from a script changing "client-fd"
by $1 using Run Before Job = "/etc/bacula/scripts/check-status-client.
Hi,
28.04.2009 13:37, Personal Técnico wrote:
> Hi,
>
> I check a client status before run a job with this script, called
> "check-status-client.sh":
>
> -
> #! /bin/bash
> bconsole < @output /var/log/bacula/$1 w
Why not something like 'echo "sta client=$1"