<?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: script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515881#M219014</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;Look at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.shelldorado.com" target="_blank"&gt;www.shelldorado.com&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Nice site&lt;BR /&gt;&lt;BR /&gt;find /var/spool/lp/request -name cA* -type f -mtime +3 -follow|while read line&lt;BR /&gt;do&lt;BR /&gt;echo host" "$(cat $line|grep H|cut -c2-128)&lt;BR /&gt;echo user" "$(cat $line|grep P|cut -c2-128)&lt;BR /&gt;echo req." "$(cat $line|grep J|cut -c2-128)&lt;BR /&gt;echo file" "$(cat $line|grep T|cut -c2-128)&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Will show all 3 day equests&lt;BR /&gt;&lt;BR /&gt;              Steve Steel</description>
    <pubDate>Fri, 01 Apr 2005 07:51:44 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2005-04-01T07:51:44Z</dc:date>
    <item>
      <title>script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515878#M219011</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;I need to write a script which captures all the print jobs that are 3 days and older and send a notification to the concerned person.I &lt;BR /&gt;know lpstat -o output gives the print queue.I have not done much of scripting.So any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;thanks a bunch,&lt;BR /&gt;joe gibbs</description>
      <pubDate>Thu, 31 Mar 2005 23:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515878#M219011</guid>
      <dc:creator>joe_biggs_1979</dc:creator>
      <dc:date>2005-03-31T23:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515879#M219012</link>
      <description>can you give lpstat -o sample output to write script for you?</description>
      <pubDate>Fri, 01 Apr 2005 01:19:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515879#M219012</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-04-01T01:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515880#M219013</link>
      <description>Joe,&lt;BR /&gt;attached a script I quickly put together,&lt;BR /&gt;it SHOULD do the job (hopefully).&lt;BR /&gt;I have added comments, so you can see whats happening. If you want to see more please comment out the remove steps and look at the *.lis files.&lt;BR /&gt;&lt;BR /&gt;If the script provides some help please also have a look at:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#34" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#34&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2005 07:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515880#M219013</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-01T07:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515881#M219014</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Look at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.shelldorado.com" target="_blank"&gt;www.shelldorado.com&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Nice site&lt;BR /&gt;&lt;BR /&gt;find /var/spool/lp/request -name cA* -type f -mtime +3 -follow|while read line&lt;BR /&gt;do&lt;BR /&gt;echo host" "$(cat $line|grep H|cut -c2-128)&lt;BR /&gt;echo user" "$(cat $line|grep P|cut -c2-128)&lt;BR /&gt;echo req." "$(cat $line|grep J|cut -c2-128)&lt;BR /&gt;echo file" "$(cat $line|grep T|cut -c2-128)&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Will show all 3 day equests&lt;BR /&gt;&lt;BR /&gt;              Steve Steel</description>
      <pubDate>Fri, 01 Apr 2005 07:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515881#M219014</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-04-01T07:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515882#M219015</link>
      <description>I posted a script that works for 7 days in the following forum thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=847518" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=847518&lt;/A&gt;</description>
      <pubDate>Fri, 01 Apr 2005 09:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515882#M219015</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-04-01T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515883#M219016</link>
      <description>Joe,&lt;BR /&gt;did these answers help?&lt;BR /&gt;If the problem is resolved,please read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#34" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#34&lt;/A&gt;  and close the thread, otherwise please update.&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 04 Apr 2005 02:00:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/3515883#M219016</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-04T02:00:14Z</dc:date>
    </item>
  </channel>
</rss>

