[mythtv-users] mythfilldatabase not running automatically
Mary Strimel
mary.strimel at gmail.com
Thu Feb 24 20:23:27 UTC 2022
> > The easiest thing to 'fix' is to run from cron. I have the same problem
> > here -- I think I missed a step where it says to install as user
> > mythtv. Highlighted and flagged in the instructions - I still managed
> > to skip it. %)
>
>
> > The cron command I am using is:
>
> > 10 17 * * * /usr/bin/mythfilldatabase
>
> > Runs daily at 10 minutes past 5 p.m. You can select any time - just
> > avoid any system backups, etc.
>
> > To access cron type 'crontab -e' at the command line (no quotes, of
> > course!). I put the line at the end of the existing document. If you
> > wish to add a reminder line as to function precede with a '#': "# Runs
> > at 5:10 p.m." with the command on the next line. Control_o to save,
> > control_x to exit; will install and update automatically.
>
> > Barry
>
Thank you Barry- I just put it in, and we'll see if it runs!
>
>
> Be aware this way you add it to the crontab of the user you use to run
> the crontab command. So if you want it to run as a different user you
> can either run:
> crontab -e -u <user>
>
> for instance:
> crontab -e -u mythtv
>
> Makes sense, thanks Hika! I did this for user mythtv. I don't have any
options so hopefully won't need a batch file.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20220224/fe1eb629/attachment.htm>
More information about the mythtv-users
mailing list