On Thursday 31 August 2006 23:21, Santiago Alberch wrote:
> I´m editing DirStartUp.py. 
> I want to write a script that can check if the
> termination job was:
> 
> Termination: Backup OK -- with warnings

This occurs when the JobStatus == "T" and
(JobErrors or SDJobErrors are non-zero).

> 
> I capture this:
>      if job.JobStatus == "e":
>         job.JobReport="Non-fatal Error\n"
>      elif job.JobStatus == "E":
>         job.JobReport="Termited with errors\n"
>      elif job.JobStatus == "T":
>         job.JobReport="Completed successfully\n"
> 
> But then a Job finish with warnings the job.JobStatus
> is "T", but didn´t finish with "e" ??
> 
> I want to know how to capture when the file deamon
> can´t get a file that was removed.

This is very likely when JobErrors != 0.  However, I did not look at the code 
for this.  However, it could be signalled by FDJobStatus.

Unfortunately, neither JobErrors, SDJobErrors, FDJobStatus, nor SDJobStatus 
are currently available, but are now in version 1.39.23 source code and will 
be committed to the CVS tonight.

> 
> Thank you very much!!
> 
> 
> 
>       
>       
>               
> __________________________________________________
> Preguntá. Respondé. Descubrí.
> Todo lo que querías saber, y lo que ni imaginabas,
> está en Yahoo! Respuestas (Beta).
> ¡Probalo ya! 
> http://www.yahoo.com.ar/respuestas
> 
> 
> -------------------------------------------------------------------------
> 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
> 

-------------------------------------------------------------------------
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

Reply via email to