[Backgroundrb-devel] Marking a job as failed?

Max Williams toastkid.williams at gmail.com
Tue Dec 2 12:21:01 EST 2008


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

cheers
max

2008/12/2 hemant <gethemant at gmail.com>

> If you are using persistent job, then currently there is no support
> for marking a job as failed. We can easily patch it for this.
>
>
>
> 2008/12/1 Max Williams <toastkid.williams at gmail.com>:
> > I'm using backgroundrb to build zip files.  If the zipping fails, for
> > example because some of the files intended to be zipped are missing, i
> want
> > to mark the job as failed.  What's the best way to do this?
> >
> > thanks, max
> >
> > _______________________________________________
> > Backgroundrb-devel mailing list
> > Backgroundrb-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> >
>
>
>
> --
> Let them talk of their oriental summer climes of everlasting
> conservatories; give me the privilege of making my own summer with my
> own coals.
>
> http://gnufied.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20081202/6c347cea/attachment.html>


More information about the Backgroundrb-devel mailing list