<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Incorrect crontab time in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444384#M8844</link>
    <description>Tracey,&lt;BR /&gt;&lt;BR /&gt;I would also create a test cron entry to run a dummy job on the next hour to see whether restarting cron has fixed the problem.&lt;BR /&gt;&lt;BR /&gt;Just get it to 'env'. When you check mail after the job has run you can also check what environment variables are being inherited from cron.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
    <pubDate>Mon, 11 Sep 2000 19:54:35 GMT</pubDate>
    <dc:creator>John Palmer</dc:creator>
    <dc:date>2000-09-11T19:54:35Z</dc:date>
    <item>
      <title>Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444372#M8832</link>
      <description>I have several K460's running 10.20, one of them is an hour off when the crontab starts; i.e. I have it set for 21 hundred hours, and it starts at 22 hundred hours.  I've checked and compared the timezone parameters between machines, they are all identical.  Here is what I checked:&lt;BR /&gt;&lt;BR /&gt;/etc/TIMEZONE &amp;gt;&amp;gt;Set to EST5EDT&lt;BR /&gt;/etc/profile  &amp;gt;&amp;gt;Set to EST5EDT&lt;BR /&gt;/etc/cron.profile &amp;gt;&amp;gt;Set to EST5EDT&lt;BR /&gt;{{This is my self-made cron profile}}&lt;BR /&gt;&lt;BR /&gt;Kernal Parameters:&lt;BR /&gt;timezone=300 (minutes East of Greenwich)&lt;BR /&gt;dst=1 (daylight savings time)&lt;BR /&gt;&lt;BR /&gt;What else could be incorrect?</description>
      <pubDate>Mon, 11 Sep 2000 15:23:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444372#M8832</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2000-09-11T15:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444373#M8833</link>
      <description>What is the dodgy server time set to? Do 'date -u' to get UCT. &lt;BR /&gt;Is it the same as the servers that work ok?&lt;BR /&gt;It sounds like a Daylight Savings time issue to me.</description>
      <pubDate>Mon, 11 Sep 2000 15:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444373#M8833</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-11T15:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444374#M8834</link>
      <description>Is the time correct on the K460?&lt;BR /&gt;&lt;BR /&gt;Has the crontab file for the user been re-read? Are you using crontab -e &lt;USER&gt; or modifing the crontab file directly? If modifing the crtontab file directly, will need to stop/start the crom process so the file is re-read. This will pick up any cjanges that have been made to the crontab file(s).&lt;/USER&gt;</description>
      <pubDate>Mon, 11 Sep 2000 15:29:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444374#M8834</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-09-11T15:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444375#M8835</link>
      <description>One other possibility...&lt;BR /&gt;&lt;BR /&gt;Have you changed the time on this server with the 'date' command? If so, you ought to stop and restart the cron daemon:-&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron stop&lt;BR /&gt;/sbin/init.d/cron start</description>
      <pubDate>Mon, 11 Sep 2000 15:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444375#M8835</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-11T15:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444376#M8836</link>
      <description>date -u returns the current time + 4 hours.&lt;BR /&gt;&lt;BR /&gt;Crontab are edited in a text file and then replaced with "crontab &lt;CRON.FILE&gt;&lt;/CRON.FILE&gt;&lt;BR /&gt;date hasn't been set since long before the last machine boot.&lt;BR /&gt;&lt;BR /&gt;Oh yeah, I do have the lastest cron patch PHCO_19985</description>
      <pubDate>Mon, 11 Sep 2000 15:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444376#M8836</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2000-09-11T15:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444377#M8837</link>
      <description>stop/start the cron process.</description>
      <pubDate>Mon, 11 Sep 2000 15:42:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444377#M8837</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-09-11T15:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444378#M8838</link>
      <description>Hi Tracey,&lt;BR /&gt;&lt;BR /&gt;In your Kernel Parameters:&lt;BR /&gt;set timezone=240&lt;BR /&gt;&lt;BR /&gt;That is where the problem is coming from. This will reboot your server.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Sep 2000 17:14:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444378#M8838</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-09-11T17:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444379#M8839</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;My Timezone is EST5EDT, which indicates that we are 5 hours west of greenwich 5*60 minutes=300 not 240.  Why do you suggest 240?  All of my machines are set to 300 and they all work fine - even with MS Exchange email date.  Just this one is a problem child.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Sep 2000 17:20:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444379#M8839</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2000-09-11T17:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444380#M8840</link>
      <description>Hi,&lt;BR /&gt;First  stop and start cron with following comands.&lt;BR /&gt;/sbin/init.d/cron stop&lt;BR /&gt;/sbin/init.d/cron start&lt;BR /&gt;Then run crontab -e command and save cron file.&lt;BR /&gt;P V Patel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Sep 2000 17:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444380#M8840</guid>
      <dc:creator>P V Patel</dc:creator>
      <dc:date>2000-09-11T17:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444381#M8841</link>
      <description>Tracey,&lt;BR /&gt;&lt;BR /&gt;You system date (GMT + 4 hours) is correct for EDT. We in the UK are currently on BST (GMT-1) and are 5 hours ahead of EDT.&lt;BR /&gt;&lt;BR /&gt;I don't believe that the kernel parameter is significant.&lt;BR /&gt;&lt;BR /&gt;Is there any difference between the file '/usr/lib/tztab' which defines the time zones on your problem server and one that is OK.?&lt;BR /&gt;&lt;BR /&gt;If you examine that file you should see a section defining EST5EDT and when daylight savings time is in operation.&lt;BR /&gt;&lt;BR /&gt;I also presume that 'date' returns the correct time EDT?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 11 Sep 2000 18:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444381#M8841</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-11T18:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444382#M8842</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;The file /usr/lib/tztab are identical between the good/bad machines.&lt;BR /&gt;&lt;BR /&gt;Yes "date" comes up with the correct info! :)</description>
      <pubDate>Mon, 11 Sep 2000 18:28:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444382#M8842</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2000-09-11T18:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444383#M8843</link>
      <description>Have you tried stoping/restarting the cron process?&lt;BR /&gt;&lt;BR /&gt;It appears that your setup is correct but it is unknown if you have re-read the crontab file by bouncing the cron process.</description>
      <pubDate>Mon, 11 Sep 2000 19:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444383#M8843</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-09-11T19:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444384#M8844</link>
      <description>Tracey,&lt;BR /&gt;&lt;BR /&gt;I would also create a test cron entry to run a dummy job on the next hour to see whether restarting cron has fixed the problem.&lt;BR /&gt;&lt;BR /&gt;Just get it to 'env'. When you check mail after the job has run you can also check what environment variables are being inherited from cron.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 11 Sep 2000 19:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444384#M8844</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-11T19:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444385#M8845</link>
      <description>In reading the previous posts, you are correct. East Coast time is 5 hours from Greenwich time so that would be 300 minutes. EST5EDT. As you stated previously, you have the kernel param of timezone set to 300.</description>
      <pubDate>Mon, 11 Sep 2000 20:33:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444385#M8845</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-09-11T20:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444386#M8846</link>
      <description>Tracey:&lt;BR /&gt;&lt;BR /&gt;I agree with John: I don't think the kernel parameter matters here.  Document #W3396367 notes that "Most commands, which rely on...library routines, will get the correct behavior as long as the TZ environment variable is properly set for the users' environments, and ignore any values for the kernel parameters such as timezone.".  See also document #W3608538.  It contains some interesting comments on programattic access to various time functions.&lt;BR /&gt;&lt;BR /&gt;Make sure that /etc/TIMEZONE is executable.  It is sourced by /etc/profile in preference to setting a hard-coded TZ value.&lt;BR /&gt;&lt;BR /&gt;For some pecularities of sendmail, see document #KBRC00001686.  Sendmail uses a varible called &lt;TIMEZONESPEC&gt; in the&lt;BR /&gt;/etc/mail/sendmail.cf file which sets the timezone for mail messages.&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/TIMEZONESPEC&gt;</description>
      <pubDate>Tue, 12 Sep 2000 01:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444386#M8846</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-09-12T01:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect crontab time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444387#M8847</link>
      <description>I think you have a problem with the time syncronization, checking the following link might be helpful. &lt;A href="http://devresource.hp.com/STK/man/11.00/dtscp_1m.html" target="_blank"&gt;http://devresource.hp.com/STK/man/11.00/dtscp_1m.html&lt;/A&gt;</description>
      <pubDate>Mon, 18 Sep 2000 07:50:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-crontab-time/m-p/2444387#M8847</guid>
      <dc:creator>Nadeem Siddiqui</dc:creator>
      <dc:date>2000-09-18T07:50:55Z</dc:date>
    </item>
  </channel>
</rss>

