[mythtv-users] does myth 'best practice' have me adding anything to cron?

John Veness John.Veness.mythtv at pelago.org.uk
Tue Mar 22 20:30:06 UTC 2016


On March 22, 2016 5:26:36 AM GMT, steve <stevenospam at gmail.com> wrote:
>Hi,
>
>I'm running Ubuntu 14.04 LTS with MythTV 0.27.6 installed via PPA, not
>mythbuntu
>
>Am I supposed to be manually adding anything to cron for myth?
>
>For example, am I supposed to be crontabbing the running of
>mythfilldatabase every so often?
>
>I found reference to some other cron files in some other thread, I am
>guessing mythbuntu-desktop or maybe myth-control-centre created them?:
>
>/etc/cron.d/mythbuntu-bare
>/etc/cron.daily/mythexport
>/etc/cron.daily/mythtv-database
>/etc/cron.daily/optimize_mythdb
>/etc/cron.daily/optimize_mythdb.pl
>/etc/cron.weekly/mythtv-database 
>
>Can someone post the contents of these so I can see what they do? 
>
>Thank you

I too am running Ubuntu with mythtv packages installed on top, from the mythbuntu ppa, rather than installing from the mythbuntu ISO. I don't have mythbuntu-desktop installed, but do have mythbuntu-common, mythbuntu-bare-client and mythbuntu-control-center installed. I may have run mythbuntu-control-center in the past, but not for years.

Of the cron entries you list, I have just:
	/etc/cron.daily/mythexport
	/etc/cron.weekly/mythtv-database 
in my system. Using "dpkg -S" on the filenames, I see that /etc/cron.daily/mythexport comes from the mythexport package and /etc/cron.weekly/mythtv-database comes from the mythtv-database package. I suspect the people who have /etc/cron.daily/mythtv-database instead have manually moved the file from weekly to daily to make it occur more often.

If you don't have the cron entries but do have the mythexport and mythtv-database packages installed, I'm guessing the files were manually deleted. If so, there is probably a proper way to reinstall or reconfigure the packages to bring the cron files back, but I don't know how to do that.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160322/2ad950e3/attachment.html>


More information about the mythtv-users mailing list