Mandi! Marco Gaiarin
In chel di` si favelave...
> echo "status storage=$STORAGE" | bconsole | grep "^No Jobs running\." >
> /dev/null
> and works as expected, until you have only one device in the storage daemon;
> but if you have more than a device, coud be that the needed device is idle,
> but the other not, so media are ejectable but script fail.
I've tried:
echo "status storage=$STORAGE" | bconsole | egrep "^Daemon started .*\.
Jobs: run=[0-9]+, running=0\." > /dev/null
but still it is unclear how to have the exact jobs using a particular
device...
Someone can help me? Thanks.
--
Qualche saggio scriveva che l'unico sistema economico funzionante
gli pareva il libero mercato in cui il governo tiene la pistola puntata
alla tempia delle corporations. Peccato che il governo sia più solito
offrire modiche quantità di vaselina al consumatore, occasionalmente...
(Emanuele Pucciarelli)
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users