Opened 11 years ago

Closed 11 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


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:

Attachments (1)

shutdown-jobs.diff (10.6 KB) - added by matt.doran@… 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by matt.doran@…

comment:1 Changed 11 years ago by stuartm

  • Owner changed from ijr to cpinkham

comment:2 Changed 11 years ago by cpinkham

  • Resolution set to fixed
  • Status changed from new to 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.

Add Comment

Modify Ticket

as closed The owner will remain cpinkham.
The resolution will be deleted. Next status will be 'new'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.