<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 11/9/18 1:03 PM, Ian Cameron wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAC+xXWNa2XMdj3TR4YzJw+fuo_=8tJjugEJv8mv_q31BAPuy9Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_quote">
          <div dir="ltr">On Fri, 9 Nov 2018 at 15:20, Jim Abernathy <<a
              href="mailto:jfabernathy@gmail.com" moz-do-not-send="true">jfabernathy@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            2. sudo crontab -e works but since the file is controlled by
            the command <br>
            exclusively, you'd have to have the crontab formated line in
            a file to <br>
            cut and paste.<br>
          </blockquote>
          <div><br>
          </div>
          <div>You can backup and restore user crontabs, although you
            should restart cron after a restore.<br>
          </div>
          <div><br>
          </div>
          <div>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.:</div>
          <div><br>
          </div>
          <div>crontab my-mythtv-crontab<br>
          </div>
          <div><br>
          </div>
          <div>or:</div>
          <div><br>
          </div>
          <div>crontab < my-mythtv-crontab</div>
          <div><br>
          </div>
          <div>Also, you can install user crontabs as root for other
            users using the -u option to the crontab command.</div>
          <div><br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            I left my scripts in $HOME and a copy of the file I want
            copied to <br>
            /etc/cron.d there as well.<br>
          </blockquote>
          <div> </div>
          <div>If it was me, I'd symlink rather than have duplicates,
            but it's your system and your decision.<br>
          </div>
          <div><br>
          </div>
          <div>Cheers, ian</div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>Thanks, good information.</p>
    <p>Jim A</p>
    <p><br>
    </p>
  </body>
</html>