I found some information that speaking about read bacula's standard input
(stdin) ..
very interesting, but... how can I do??
thank you
2012/11/8 Carlo Filippetto <carlo.filippe...@gmail.com>
> In practice,
> I would be able to manage the information that is sent as body in the
> message with bsmtp, including when it sends e-mails to the operator
> (mount / warning)
>
> Thank you
>
>
>
>
> 2012/11/8 Carlo Filippetto <carlo.filippe...@gmail.com>
>
>> Hi all,
>> I have a custom script that runs instead of bsmtp
>>
>> I would like to send the log of every job, but in the list of
>> substitutions I haven't find it:
>>
>>
>> - %% = %
>> - %c = Client's name
>> - %d = Director's name
>> - %e = Job Exit code (OK, Error, ...)
>> - %h = Client address
>> - %i = Job Id
>> - %j = Unique Job name
>> - %l = Job level
>> - %n = Job name
>> - %r = Recipients
>> - %s = Since time
>> - %t = Job type (e.g. Backup, ...)
>> - %v = Volume name (Only on director side)
>>
>>
>> how can I do?
>>
>> This is my script
>>
>> mailcommand = "/bin/bash -c \"/usr/bin/php /opt/script/send_report.php
>> '%e' '%l' '%n' '%t' '%r' $LogFile > /tmp/pippo\""
>>
>> I would like to send the information into the log, like
>> - backup dimensione
>> - compression
>> - Elapsed time
>>
>> How can I take this ones?
>>
>>
>> thank you
>>
>>
>>
>>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users