Opened 18 years ago
Closed 18 years ago
#3403 closed patch (fixed)
Stop automatic shutdown from occurring whilst jobs are still pending
Reported by: | anonymous | Owned by: | cpinkham |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
The attached patch fixes an issue where mythtv will incorrectly shutdown when jobs are still pending. This occurs when the shutdown check occurs after one job has completed and the next has not yet started.
This patch makes some changes to mythshutdown, to check to see if there are jobs pending in the queue. It takes the job run window into account and also will not shutdown if the job queue is set to start within 15 minutes.
This also fixes the problem when the shutdown will occur when user jobs are running.
Chris Pinkham has been reviewing this patch.
See the following threads for more info: http://www.gossamer-threads.com/lists/mythtv/dev/265782
Attachments (1)
Change History (3)
by , 18 years ago
Attachment: | shutdown-jobs.diff added |
---|
comment:1 by , 18 years ago
Owner: | changed from | to
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [13610]) Add intelligence to Myth's shutdown check code to look for pending or running jobs in the JobQueue when determining whether to shutdown or not.
Closes #3403 using patch by Matt Doran.