[mythtv-users] Is it worth while to stop/start mythtv nightly?

Another Sillyname anothersname at googlemail.com
Fri Nov 5 14:18:20 UTC 2010


On 5 November 2010 13:43, Brent Bolin <brent.bolin at gmail.com> wrote:
> I recently started doing a cron job that stops and starts mythtv nightly -
>
> 59 2 * * * root  ( service mythtv-backend stop )
> 0 3 * * * root  ( service mythtv-backend start )
>
> My thoughts we're memory leaks etc... and just getting a clean stop start daily.
>
> Noticed there was a recorded show that had two entries.  Was thinking
> something was wrong.  Then remembered the cron job.
>
> I also do nightly myth fill database.  I'm not sure if this stops
> mythtv from recording/watching because I'm never up at that time.
>
> So I'm wondering if I should combine these processes and just run from
> a command line(cron job).  I believe /usr/bin/mythfilldatabase will do
> this.
>
> Or if it's not necessary at all.
>
> Any input?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Brent

Why not check the recording schedule at the start of the cron job?  If
there's a recording running or scheduled for the next say 20 minutes
delay the cron till the schedule is clear.

Regards


More information about the mythtv-users mailing list