Marking the persistent job as failed would be great - currently i'm doing a workaround where if a job has as finished_at time but has finished=false then it's considered to have failed. This is not a great solution though :)<br>
<br>cheers<br>max<br><br><div class="gmail_quote">2008/12/2 hemant <span dir="ltr"><<a href="mailto:gethemant@gmail.com">gethemant@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you are using persistent job, then currently there is no support<br>
for marking a job as failed. We can easily patch it for this.<br>
<br>
<br>
<br>
2008/12/1 Max Williams <<a href="mailto:toastkid.williams@gmail.com">toastkid.williams@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> I'm using backgroundrb to build zip files. If the zipping fails, for<br>
> example because some of the files intended to be zipped are missing, i want<br>
> to mark the job as failed. What's the best way to do this?<br>
><br>
> thanks, max<br>
><br>
</div></div>> _______________________________________________<br>
> Backgroundrb-devel mailing list<br>
> <a href="mailto:Backgroundrb-devel@rubyforge.org">Backgroundrb-devel@rubyforge.org</a><br>
> <a href="http://rubyforge.org/mailman/listinfo/backgroundrb-devel" target="_blank">http://rubyforge.org/mailman/listinfo/backgroundrb-devel</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Let them talk of their oriental summer climes of everlasting<br>
conservatories; give me the privilege of making my own summer with my<br>
own coals.<br>
<br>
<a href="http://gnufied.org" target="_blank">http://gnufied.org</a><br>
</font></blockquote></div><br>