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 <[EMAIL PROTECTED]> > 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 <[EMAIL PROTECTED]>: > > 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 > > [email protected] > > 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 >
_______________________________________________ Backgroundrb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/backgroundrb-devel
