[mythtv-users] User Jobs, Exit Codes and myth_archive_job.pl

Joe Ripley vitaminjoe at gmail.com
Wed Dec 12 02:51:32 UTC 2007


On Dec 11, 2007 6:42 PM, Chris Pinkham <cpinkham at bc2va.org> wrote:
> * On Tue Dec 11, 2007 at 11:57:46AM -0700, Joe Ripley wrote:
> > The annoying part (the reason I patched my copy of the code) is that
> > libmythtv sets the status to JOB_FINISHED (0x0110) and the comment to
> > 'Successfully Completed' as soon as the UserJob script exits.  This
> > effectively clobbers any status and comment that the UserJob itself
> > writes to the DB.
>
> Patches are always welcome. :)  If you want to submit one to make the
> JobQueue honor the UserJob exit status, I'd be happy to commit it.

Sure thing.  I'll dig it up tomorrow and post it to trac.  Thanks Chris!

-- 
Joe Ripley
vitaminjoe at gmail.com


More information about the mythtv-users mailing list