<?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: Setting date backwards on HP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073399#M307939</link>
    <description># date&lt;BR /&gt;Thu Sep 20 08:32:43 EDT 2007&lt;BR /&gt;# echo "yes" | date 09200732&lt;BR /&gt;date: do you really want to run time backwards?[yes/no]Thu Sep 20 07:32:00 EDT 2007&lt;BR /&gt;# date&lt;BR /&gt;Thu Sep 20 07:32:02 EDT 2007&lt;BR /&gt;&lt;BR /&gt;PCS</description>
    <pubDate>Thu, 20 Sep 2007 07:36:38 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2007-09-20T07:36:38Z</dc:date>
    <item>
      <title>Setting date backwards on HP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073397#M307937</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;While setting the system date backwards on HP m/c it asks me a question.&lt;BR /&gt;&lt;BR /&gt;do you really want to run time backwards?[yes/no]&lt;BR /&gt;&lt;BR /&gt;Is there any switch which can skip this question and change the system date?&lt;BR /&gt;&lt;BR /&gt;I want to use *date* command in perl script and hence want to avoid this question.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Thu, 20 Sep 2007 07:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073397#M307937</guid>
      <dc:creator>Alpa Shah</dc:creator>
      <dc:date>2007-09-20T07:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Setting date backwards on HP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073398#M307938</link>
      <description>The reason the question is asked is because setting the date backwards can have bad consequences for Database servers, where it messes up the re-do logs, causing recovery efforts to be problematic at best.&lt;BR /&gt;&lt;BR /&gt;This little shell script snippet should get you past the response requirement:&lt;BR /&gt;&lt;BR /&gt;echo "yes" &amp;gt; /tmp/yes_time&lt;BR /&gt;CTIME=`date +%m%d%H%M%y`&lt;BR /&gt;date $CTIME &amp;lt; /tmp/yes_time&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Sep 2007 07:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073398#M307938</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-09-20T07:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting date backwards on HP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073399#M307939</link>
      <description># date&lt;BR /&gt;Thu Sep 20 08:32:43 EDT 2007&lt;BR /&gt;# echo "yes" | date 09200732&lt;BR /&gt;date: do you really want to run time backwards?[yes/no]Thu Sep 20 07:32:00 EDT 2007&lt;BR /&gt;# date&lt;BR /&gt;Thu Sep 20 07:32:02 EDT 2007&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Thu, 20 Sep 2007 07:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073399#M307939</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-09-20T07:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Setting date backwards on HP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073400#M307940</link>
      <description>Thanks a lot.</description>
      <pubDate>Thu, 20 Sep 2007 07:41:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073400#M307940</guid>
      <dc:creator>Alpa Shah</dc:creator>
      <dc:date>2007-09-20T07:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting date backwards on HP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073401#M307941</link>
      <description>Note that warning from date manual: &lt;BR /&gt;The cron daemon should be killed prior to setting the date backwards, then restarted.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 20 Sep 2007 07:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073401#M307941</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-09-20T07:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting date backwards on HP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073402#M307942</link>
      <description>I don't think anyone asked why you wanted to set the date backwards.  Is this to test DST testing?  If so, there are perl scripts to find the beginning and ending times after you install a tztab(4) patch.&lt;BR /&gt;See Clay's perl script here:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1097748" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1097748&lt;/A&gt;</description>
      <pubDate>Fri, 21 Sep 2007 00:47:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073402#M307942</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-21T00:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Setting date backwards on HP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073403#M307943</link>
      <description>No, this is something related to licensing.&lt;BR /&gt;I want to install a demo license and then want to expire that license by advancing the system date for testing purpose. And then have to set the date back to current date.&lt;BR /&gt;&lt;BR /&gt;Thanks much for the information.</description>
      <pubDate>Fri, 21 Sep 2007 01:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073403#M307943</guid>
      <dc:creator>Alpa Shah</dc:creator>
      <dc:date>2007-09-21T01:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setting date backwards on HP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073404#M307944</link>
      <description>Setting the date forward and backward for testing should be fine as long as the system has no production applications. But if you have any applications and cron jobs on your system, you can safely assume that there will be a lot of problems, some of which may not be immediately visible.</description>
      <pubDate>Fri, 21 Sep 2007 06:48:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-date-backwards-on-hp/m-p/4073404#M307944</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-09-21T06:48:17Z</dc:date>
    </item>
  </channel>
</rss>

