On 10.11.2017 at 10:15 wrote Stefan Harbich:
>> So something like
>> triggerjob.py -d --password
>> "........mQMZshcuQg........ttpGikVi84........" 127.0.0.1
>>
>> Try to run it manually at first, than you can run it by cron (or a
>> bareos admin job).
> 
> Hi Jörg,
> when I call the python script I always get the following error message:
> 
> Traceback (most recent call last):
>   File "/usr/local/bin/triggerjob.py", line 5, in <module>
>     import bareos.bsock
> ImportError: No module named bareos.bsock

oh yes, it is in the python-bareos package. This package is included in
bareos-17.2. For older versions you can take it from the
http://download.bareos.org/bareos/contrib/ repository.

-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to