<?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 script problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/3312847#M185928</link>
    <description>hi gurus &lt;BR /&gt;i have a problem with a shell script&lt;BR /&gt;&lt;BR /&gt;i want know the difference hours beetwen the &lt;BR /&gt;start backup and finish backup .&lt;BR /&gt;&lt;BR /&gt;post the my script in attachment ..&lt;BR /&gt;&lt;BR /&gt;the output of the script is :&lt;BR /&gt;&lt;BR /&gt;Backup Name is :     UNIX_CAMBI&lt;BR /&gt;START BACKUP 01:00&lt;BR /&gt;END BACKUP 09:22&lt;BR /&gt;La Durata Del Backup e' di = 502.00&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the time in minute is good but I dont succeed to convert all in " hours: minute "&lt;BR /&gt;help me &lt;BR /&gt;how I must make?&lt;BR /&gt;&lt;BR /&gt;help GURUS &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Jun 2004 04:49:02 GMT</pubDate>
    <dc:creator>jimmy_39</dc:creator>
    <dc:date>2004-06-23T04:49:02Z</dc:date>
    <item>
      <title>script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/3312847#M185928</link>
      <description>hi gurus &lt;BR /&gt;i have a problem with a shell script&lt;BR /&gt;&lt;BR /&gt;i want know the difference hours beetwen the &lt;BR /&gt;start backup and finish backup .&lt;BR /&gt;&lt;BR /&gt;post the my script in attachment ..&lt;BR /&gt;&lt;BR /&gt;the output of the script is :&lt;BR /&gt;&lt;BR /&gt;Backup Name is :     UNIX_CAMBI&lt;BR /&gt;START BACKUP 01:00&lt;BR /&gt;END BACKUP 09:22&lt;BR /&gt;La Durata Del Backup e' di = 502.00&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the time in minute is good but I dont succeed to convert all in " hours: minute "&lt;BR /&gt;help me &lt;BR /&gt;how I must make?&lt;BR /&gt;&lt;BR /&gt;help GURUS &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2004 04:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/3312847#M185928</guid>
      <dc:creator>jimmy_39</dc:creator>
      <dc:date>2004-06-23T04:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/3312848#M185929</link>
      <description>Example:&lt;BR /&gt; &lt;BR /&gt;sec=502&lt;BR /&gt;echo $((sec/60)) hours&lt;BR /&gt;echo $((sec%60)) seconds&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
      <pubDate>Wed, 23 Jun 2004 05:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/3312848#M185929</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2004-06-23T05:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/3312849#M185930</link>
      <description>I think your time is in minutes so Dietmar probably meant:&lt;BR /&gt;&lt;BR /&gt;min=502&lt;BR /&gt;echo $((min/60)) hours&lt;BR /&gt;echo $((min%60)) minutes&lt;BR /&gt;&lt;BR /&gt;or echo $((min/60)):$((min%60)) for hours:minutes&lt;BR /&gt;&lt;BR /&gt;Also, if you use a temp file you won't have to run the omnidb command so often. I modified your script a little and attached it.&lt;BR /&gt;&lt;BR /&gt;Saluti</description>
      <pubDate>Thu, 24 Jun 2004 17:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/3312849#M185930</guid>
      <dc:creator>Michael D'Aulerio</dc:creator>
      <dc:date>2004-06-24T17:17:45Z</dc:date>
    </item>
  </channel>
</rss>

