[mythtv-users] finish current job and shutdown?

Thomas Boehm mythtv-users at lists.boehmi.net
Mon Nov 14 23:05:45 UTC 2011

Dirk Aust wrote:
> I have a small script that has been configured to be called when the backend want's to shut down, it 
> simply tests among other things whether a "mythtranscode" process is running and then denies the 
> shutdown. The backend tries again after it's normal timeout, so when the transcode processis not 
> running any more, the backend goes down.

Thanks Dirk, I know about the "Pre-shutdown-check command" and have a
similar script running. It works fine.

But I want to do something different. I want to shutdown after the
currently active job finishes and resume all other pending jobs at the
next boot.


BTW: you can run "mythshutdown --check" to check for running user-,
transcode- and commflag-jobs.

More information about the mythtv-users mailing list