Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Jari Fredriksson
>> Jari Fredriksson wrote: >>> Just like you do now from Bacula. The parameter $* >>> means 'all parameters', >>> so the new shell script passes all of its parameters to >>> send_beeper.pl. Just pass to it the %n and %e in Bacula. >> >> Jari, sorry about my poor knowledge about this topic, >> coul

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Jari Fredriksson
> Jari Fredriksson wrote: >> Just like you do now from Bacula. The parameter $* means 'all >> parameters', >> so the new shell script passes all of its parameters to send_beeper.pl. >> Just pass to it the %n and %e in Bacula. > > Jari, sorry about my poor knowledge about this topic, could you pleas

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Reynier Pérez Mira
Jari Fredriksson wrote: >> Hi every: >> I have Bacula configured for send me a beeper in case a >> Job fail. This script (make in Perl) needs Internet >> connection. Now I want to set the environment var >> http_proxy and unset directly from Bacula. Is this >> possible? I mean for example, followin

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Reynier Pérez Mira
Jari Fredriksson wrote: > Just like you do now from Bacula. The parameter $* means 'all parameters', > so the new shell script passes all of its parameters to send_beeper.pl. > Just pass to it the %n and %e in Bacula. Jari, sorry about my poor knowledge about this topic, could you please leave me

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Jari Fredriksson
> Jari Fredriksson wrote: >> You can always create a send_bacula_beeper.sh which contains >> >> #!/bin/sh >> http_proxy=some_ip:some_port >> send_beeper.pl $* >> > Hi: > I haven't enough knowledge of Bash. I want to use var from Bacula as %n > and %e. I create a script as you suggest me. > > #!/bi

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-12 Thread Jari Fredriksson
> Hi every: > I have Bacula configured for send me a beeper in case a > Job fail. This script (make in Perl) needs Internet > connection. Now I want to set the environment var > http_proxy and unset directly from Bacula. Is this > possible? I mean for example, following a simple logic: > > if (j

[Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-12 Thread Reynier Perez Mira
Hi every: I have Bacula configured for send me a beeper in case a Job fail. This script (make in Perl) needs Internet connection. Now I want to set the environment var http_proxy and unset directly from Bacula. Is this possible? I mean for example, following a simple logic: if (job_fail) set h