<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 14/12/15 20:58, Michael wrote:<br>
    </div>
    <blockquote cite="mid:566F2D6B.80406@blandford.net" type="cite"><br>
      In the job, I pass the chanid and the starttime values.
      <br>
      <br>
      What was passed to the user job was: 9296 for chanid and
      20151213215800 for the starttime.  When mythlink.pl runs, it does
      a sql query for a show that was recorded on that chanid and
      starttime and fails to find anything and no links are created.
      <br>
      <br>
      Looking in the database for this recording, I see that actual
      start time is 2015-12-14 04:58:00.  This is a difference of 7
      hours.  I happen to live in UTC -7.  So it looks like a timezone
      issue.
      <br>
      <br>
      If I run my user job again by hand, but modify it to pass the
      starttime + 7 hours, then mythlink runs and finds the show and the
      appropriate link is created.
      <br>
      <br>
      I am not sure how to fix this.  Any suggestions?
      <br>
      <br>
    </blockquote>
    <br>
    Use %STARTTIMEUTC% instead of %STARTTIME%<br>
    <br>
    <a href="https://www.mythtv.org/wiki/User_Jobs">https://www.mythtv.org/wiki/User_Jobs</a><br>
  </body>
</html>