I finally decided to use my own "mail system" (which naturally uses "bsmtp" ;-) ), which sends short messages, in french ;-). This way I can catch all events directly in the python code.
Maybe "Canceled" could be added in the message types (info, warning, error, fatal, terminate) and also be logged. The problem is that the python script can cancel a job automatically with 'job.cancel(JobId)'. For example, if python script tests for sufficient disk space and there isn't, it can do a job.cancel(JobId). If done this way, nothing is logged and user won't receive any message that the backup has failed. K. Ryan Novosielski a écrit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I already get messages when jobs are canceled. I'm not sure what's doing > it, but I receive all messages. You might want to check the listings for > the different types. > > le dahut wrote: >> Hello, >> >> Is there a way to get an email when a job is canceled ? >> >> My actual configuration is : >> mail = [EMAIL PROTECTED] = error, fatal, mount >> >> Could it be something like : >> mail = [EMAIL PROTECTED] = error, fatal, mount, canceled >> ? >> >> K. >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users > > - -- > ---- _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III > |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEq+cYmb+gadEcsb4RArMQAKCJMV6da5JxAgGx8P7Y6IdLyuR0LgCgiqYE > 1CgsvFT7Swb5wMB8D2WRQLc= > =h9+v > -----END PGP SIGNATURE----- > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users