use /bacula/examples/reports/report.pl with crontab

Regards,

François Mehault
Netplus Communication

-----Message d'origine-----
De : Tolj Mario [mailto:mario.t...@champittet.ch]
Envoyé : mercredi 10 juin 2009 11:56
À : bacula-users@lists.sourceforge.net
Objet : [Bacula-users] How to send a mail after a Job ?

Hello,

Sorry if my english isn't very well.

I'm trying to configure Bacula to send me a mail after a Job (Succes or
Error, etc...). but i'm not sure how to configure that.

My Linux server is in my windows Active Directory, so i try to send a
mail to two of my Active Directory users (us...@test.ch and us...@test.ch)

In the bacula-dir.conf i'have try to only put the email addresses in the
Message ressource separated by a ";" but it doesn't work. I think it's a
little bit more complicated than that :)

Messages {
  Name = Standard
  mailcommand = "/usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch* \ -f
\"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch \*
-f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to