[mythtv-users] crontab vs. anacron from a mythtv perspective
Jim Abernathy
jfabernathy at gmail.com
Fri Nov 9 18:32:03 UTC 2018
On 11/9/18 1:03 PM, Ian Cameron wrote:
> On Fri, 9 Nov 2018 at 15:20, Jim Abernathy <jfabernathy at gmail.com
> <mailto:jfabernathy at gmail.com>> wrote:
>
> 2. sudo crontab -e works but since the file is controlled by the
> command
> exclusively, you'd have to have the crontab formated line in a
> file to
> cut and paste.
>
>
> You can backup and restore user crontabs, although you should restart
> cron after a restore.
>
> You don't have to copy and paste to create a crontab, you can invoke
> the crontab command with a file name or by using stdin, i.e.:
>
> crontab my-mythtv-crontab
>
> or:
>
> crontab < my-mythtv-crontab
>
> Also, you can install user crontabs as root for other users using the
> -u option to the crontab command.
>
> I left my scripts in $HOME and a copy of the file I want copied to
> /etc/cron.d there as well.
>
> If it was me, I'd symlink rather than have duplicates, but it's your
> system and your decision.
>
> Cheers, ian
Thanks, good information.
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20181109/b30bd787/attachment.html>
More information about the mythtv-users
mailing list