[mythtv-users] mythfilldatabase not running automatically
stephen_agent at jsw.gen.nz
Sat Feb 26 08:48:35 UTC 2022
On Fri, 25 Feb 2022 19:54:04 +0100, you wrote:
>Friday, February 25, 2022, 7:36:15 PM, you wrote:
>>> 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>
>> Thanks for the advice, Hika! The nice thing about posting here is get
>> to be corrected / made better and we all benefit.
>I actually accidentally discovered that switch when I mistyped and got
>the help. I always work with the other option: the root crontab and
>add the user when needed in there.
>But as the issue was about using the right user in the first place...
And these days, rather than crontab, you really ought to be using:
systemctl --user edit
to create systemd per user units and associated per user .timer units.
It is a bit more work than crontab, but more capable.
More information about the mythtv-users