Opened 11 years ago

Closed 11 years ago

#6080 closed enhancement (fixed)

honor return value of a User Job

Reported by: myth@… Owned by: cpinkham
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Currently User Job exit values are read (in mythsystem.cpp) but ignored because jobqueue.cpp always returns "JOB_FINISHED" and the message "Successfully Completed." as soon as the User Job finishes.

This patch looks for a non-zero exit value from the User Job and then deals with them appropriately in the log and the status.

Attachments (1)

honorUserJobReturnCode.diff (763 bytes) - added by myth@… 11 years ago.
Honor User Job return value patch

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by myth@…

Attachment: honorUserJobReturnCode.diff added

Honor User Job return value patch

comment:1 Changed 11 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham
Status: newassigned

comment:2 Changed 11 years ago by cpinkham

Resolution: fixed
Status: assignedclosed

(In [20376]) Honor non-zero return codes from User Jobs and indicate an error was encountered in the logs and database log table.

Closes #6080 using patch by some anonymous user at twilley.plus.com

Note: See TracTickets for help on using tickets.