<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 12/14/2015 02:23 PM, Roger Siddons
      wrote:<br>
    </div>
    <blockquote cite="mid:566F336E.2010503@ntlworld.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <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 moz-do-not-send="true"
        href="https://www.mythtv.org/wiki/User_Jobs">https://www.mythtv.org/wiki/User_Jobs</a><br>
      <br>
    </blockquote>
    <br>
    <br>
    Thanks!,<br>
    <br>
    I see the note on this page regarding the various xxxUTC variables.<br>
    <br>
    Sadly, many of the wiki pages ( that I was following ) don't make
    mention of them and still use STARTTIME.<br>
    <br>
    Michael<br>
    <br>
  </body>
</html>