<?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: loop or continue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043614#M433385</link>
    <description>thanks all</description>
    <pubDate>Tue, 01 May 2007 16:39:32 GMT</pubDate>
    <dc:creator>eykyn17</dc:creator>
    <dc:date>2007-05-01T16:39:32Z</dc:date>
    <item>
      <title>loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043606#M433377</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;I know this is so easy for you..&lt;BR /&gt;What is the command to get the result by 5seconds or if i press the enter key &lt;BR /&gt;exmple: I want to monitor the print queue every 5 seconds.&lt;BR /&gt;lpstat -a pintername&lt;BR /&gt;&lt;BR /&gt;How do i do that instead typing the command again.&lt;BR /&gt;&lt;BR /&gt;Apprecaite your help &lt;BR /&gt;</description>
      <pubDate>Tue, 01 May 2007 12:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043606#M433377</guid>
      <dc:creator>eykyn17</dc:creator>
      <dc:date>2007-05-01T12:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043607#M433378</link>
      <description>while true&lt;BR /&gt;do&lt;BR /&gt;lpstat -a printername&lt;BR /&gt;sleep 5&lt;BR /&gt;done&lt;BR /&gt;this will loop until you do a Control -C</description>
      <pubDate>Tue, 01 May 2007 12:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043607#M433378</guid>
      <dc:creator>David Bellamy</dc:creator>
      <dc:date>2007-05-01T12:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043608#M433379</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# while true; do&lt;BR /&gt;&amp;gt; lpstat -a printername&lt;BR /&gt;&amp;gt; sleep 5&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;&lt;BR /&gt;Using a Ctrl-C will interrupt (terminate) the loop.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 01 May 2007 12:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043608#M433379</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-05-01T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043609#M433380</link>
      <description>Write a little two line script:&lt;BR /&gt;&lt;BR /&gt;lpstat -a printername&lt;BR /&gt;echo "full_path_of_myscript" |at now +5 minutes&lt;BR /&gt;&lt;BR /&gt;The invoke that script with "echo "full_path_of_myscript" |at now +5 minutes"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 01 May 2007 12:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043609#M433380</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-05-01T12:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043610#M433381</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;the triggy part is&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;or if I press the enter key&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;A solution - which is HP specific - is the command&lt;BR /&gt;line -t 5&lt;BR /&gt;(the -t option is only available under HP-UX):&lt;BR /&gt;&lt;BR /&gt;while :&lt;BR /&gt;do&lt;BR /&gt;   dummy=$(line -t 5)&lt;BR /&gt;   lpstat -a printer&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 01 May 2007 12:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043610#M433381</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-05-01T12:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043611#M433382</link>
      <description>Hi ALL,&lt;BR /&gt;&lt;BR /&gt;Thank you so much for the hint It really helps.&lt;BR /&gt;&lt;BR /&gt;more power to all of you guys:-)</description>
      <pubDate>Tue, 01 May 2007 13:17:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043611#M433382</guid>
      <dc:creator>eykyn17</dc:creator>
      <dc:date>2007-05-01T13:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043612#M433383</link>
      <description>Hi ALL,&lt;BR /&gt;&lt;BR /&gt;Thank you so much for all your reply. It really help me a lot it so much easier now.&lt;BR /&gt;&lt;BR /&gt;more power to all of you guys:-)</description>
      <pubDate>Tue, 01 May 2007 13:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043612#M433383</guid>
      <dc:creator>eykyn17</dc:creator>
      <dc:date>2007-05-01T13:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043613#M433384</link>
      <description>while true&lt;BR /&gt;do&lt;BR /&gt;        echo "Press Enter"&lt;BR /&gt;        read&lt;BR /&gt;        lpstat -a printer&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Tue, 01 May 2007 13:33:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043613#M433384</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2007-05-01T13:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: loop or continue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043614#M433385</link>
      <description>thanks all</description>
      <pubDate>Tue, 01 May 2007 16:39:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/loop-or-continue/m-p/5043614#M433385</guid>
      <dc:creator>eykyn17</dc:creator>
      <dc:date>2007-05-01T16:39:32Z</dc:date>
    </item>
  </channel>
</rss>

