<?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: question regarding cron and DST in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960212#M756641</link>
    <description>is there a safe way to stop and start cron without killing the pid?</description>
    <pubDate>Mon, 12 Mar 2007 14:10:22 GMT</pubDate>
    <dc:creator>Chris Fadrowski</dc:creator>
    <dc:date>2007-03-12T14:10:22Z</dc:date>
    <item>
      <title>question regarding cron and DST</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960209#M756638</link>
      <description>Since DST took effect, cron is off by one hour. The system date is correct.&lt;BR /&gt;&lt;BR /&gt;This shows that /var/adm/cron/log was updated at 11:20 this morning, but the date in the log file is one hour earlier.&lt;BR /&gt;&lt;BR /&gt;root@host:/var/adm/cron&amp;gt;date&lt;BR /&gt;Mon Mar 12 11:25:44 CDT 2007&lt;BR /&gt;root@host:/var/adm/cron&amp;gt;ll log&lt;BR /&gt;-rw-r--r--   1 root       root       3176197 Mar 12 11:20 log&lt;BR /&gt;root@host:/var/adm/cron&amp;gt;tail log&lt;BR /&gt;&amp;lt;  oracle 27521 c Mon Mar 12 10:00:00 CST 2007&lt;BR /&gt;&amp;gt;  CMD: /home/oracle/scripts/legato/check_legato_status.sh &amp;gt; /home/oracle/scripts/legato/_check_legato_status.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  root 28902 c Mon Mar 12 10:05:00 CST 2007&lt;BR /&gt;&amp;lt;  root 28902 c Mon Mar 12 10:05:01 CST 2007&lt;BR /&gt;&amp;gt;  CMD: /home/oracle/scripts/misc/space_used.sh &amp;gt; /home/oracle/scripts/misc/_space_used.lst 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  oracle 1756 c Mon Mar 12 10:15:00 CST 2007&lt;BR /&gt;&amp;lt;  oracle 1756 c Mon Mar 12 10:15:00 CST 2007&lt;BR /&gt;&amp;gt;  CMD: /home/oracle/scripts/misc/space_used.sh &amp;gt; /home/oracle/scripts/misc/_space_used.lst 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  oracle 3230 c Mon Mar 12 10:20:00 CST 2007&lt;BR /&gt;&amp;lt;  oracle 3230 c Mon Mar 12 10:20:00 CST 2007&lt;BR /&gt;&lt;BR /&gt;This shows that cron didn't make the adjustment for DST at 2am, even though the o/s itself did.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  CMD: /home/oracle/scripts/legato/check_legato_status.sh &amp;gt; /home/oracle/scripts/legato/_check_legato_status.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  root 23148 c Sun Mar 11 01:55:00 CST 2007&lt;BR /&gt;&amp;lt;  root 23148 c Sun Mar 11 01:55:00 CST 2007&lt;BR /&gt;&amp;gt;  CMD: /home/oracle/scripts/misc/space_used.sh &amp;gt; /home/oracle/scripts/misc/_space_used.lst 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  oracle 23379 c Sun Mar 11 02:00:00 CST 2007&lt;BR /&gt;&amp;lt;  oracle 23379 c Sun Mar 11 02:00:00 CST 2007&lt;BR /&gt;&amp;gt;  CMD: /home/oracle/scripts/legato/check_legato_status.sh &amp;gt; /home/oracle/scripts/legato/_check_legato_status.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  root 23551 c Sun Mar 11 02:05:00 CST 2007&lt;BR /&gt;&amp;lt;  root 23551 c Sun Mar 11 02:05:01 CST 2007&lt;BR /&gt;&amp;gt;  CMD: /home/oracle/scripts/legato/check_legato_status.sh &amp;gt; /home/oracle/scripts/legato/_check_legato_status.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  root 23950 c Sun Mar 11 02:15:17 CST 2007&lt;BR /&gt;&amp;gt;  CMD: /home/oracle/scripts/misc/space_used.sh &amp;gt; /home/oracle/scripts/misc/_space_used.lst 2&amp;gt;&amp;amp;1&lt;BR /&gt;&amp;gt;  oracle 23951 c Sun Mar 11 02:15:17 CST 2007&lt;BR /&gt;&amp;lt;  oracle 23951 c Sun Mar 11 02:15:17 CST 2007&lt;BR /&gt;&amp;lt;  root 23950 c Sun Mar 11 02:15:17 CST 2007&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Mar 2007 13:43:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960209#M756638</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2007-03-12T13:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding cron and DST</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960210#M756639</link>
      <description>You need to stop and restart the cron daemon. It's really a good idea to reboot the box unless you are familiar with all the long-running processes on your box. A given tztab entry is cached by the application so that once read, tztab is not consulted again. Originally, tztab was read each time a ctime function was called so that your problem would be handled but there was an obvious performance penalty for something that changes so seldom so that later patches cached the tztab entry. It was a tradeoff of performance vs. latency --- and a reasonable choice.</description>
      <pubDate>Mon, 12 Mar 2007 13:49:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960210#M756639</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-03-12T13:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding cron and DST</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960211#M756640</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;There are special installation instructions with the patch:&lt;BR /&gt;&lt;BR /&gt;"While it is not strictly required to reboot&lt;BR /&gt; the system after modifying the rules in the /usr/lib/tztab file, running processes using&lt;BR /&gt; a timezone with a changed rule need to be&lt;BR /&gt; restarted to apply the new rules. Processes&lt;BR /&gt; like cron(1M), which depend on proper&lt;BR /&gt; interpretation of timestamps in the future,&lt;BR /&gt; should be restarted as soon as possible.&lt;BR /&gt; Processes that only timestamp messages should be restarted before the changes take effect."&lt;BR /&gt;&lt;BR /&gt;Most people just reboot so that everything is covered but you can just stop and restart cron or any other processes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Mar 2007 14:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960211#M756640</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-03-12T14:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding cron and DST</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960212#M756641</link>
      <description>is there a safe way to stop and start cron without killing the pid?</description>
      <pubDate>Mon, 12 Mar 2007 14:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960212#M756641</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2007-03-12T14:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding cron and DST</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960213#M756642</link>
      <description>Hi CHris:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/cron stop&lt;BR /&gt;# /sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Mar 2007 14:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960213#M756642</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-03-12T14:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding cron and DST</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960214#M756643</link>
      <description>/sbin/init.d/cron stop;/sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;That will stop/restart the cron daemon ( with a different PID) but why do you want to preserve the current PID ?&lt;BR /&gt;&lt;BR /&gt;Chris&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Mar 2007 14:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960214#M756643</guid>
      <dc:creator>Christian Tremblay</dc:creator>
      <dc:date>2007-03-12T14:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding cron and DST</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960215#M756644</link>
      <description>no concern with the PID, just can't reboot until an outage night which i plan to do but in the mean time i want to stop and start cron. &lt;BR /&gt;&lt;BR /&gt;thanks Gentlemen,</description>
      <pubDate>Mon, 12 Mar 2007 14:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-regarding-cron-and-dst/m-p/3960215#M756644</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2007-03-12T14:17:38Z</dc:date>
    </item>
  </channel>
</rss>

