<?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: scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752648#M834928</link>
    <description>&lt;BR /&gt;[ ! -f /tmp/dtdbache_* ] &amp;amp;&amp;amp; echo runmycommand&lt;BR /&gt;&lt;BR /&gt;Change the echo runmycommand to the actual command you want to run.&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Jun 2002 15:18:33 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2002-06-26T15:18:33Z</dc:date>
    <item>
      <title>scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752645#M834925</link>
      <description>Hello Guru's,&lt;BR /&gt;&lt;BR /&gt;How do I check for a particular file (dtdbache_*)  in /tmp dir and if the file does not exist I need to run a script. &lt;BR /&gt;&lt;BR /&gt;Please help...&lt;BR /&gt;&lt;BR /&gt;Thanks for your help..</description>
      <pubDate>Wed, 26 Jun 2002 15:02:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752645#M834925</guid>
      <dc:creator>John McDen</dc:creator>
      <dc:date>2002-06-26T15:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752646#M834926</link>
      <description>FNAME=/tmp/myfile&lt;BR /&gt;if [ ! -f ${FNAME} ]&lt;BR /&gt;  then&lt;BR /&gt;    runmycommand&lt;BR /&gt;  fi&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2002 15:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752646#M834926</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-26T15:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752647#M834927</link>
      <description>Hey Clay,&lt;BR /&gt;&lt;BR /&gt;Thnx...&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Wed, 26 Jun 2002 15:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752647#M834927</guid>
      <dc:creator>John McDen</dc:creator>
      <dc:date>2002-06-26T15:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752648#M834928</link>
      <description>&lt;BR /&gt;[ ! -f /tmp/dtdbache_* ] &amp;amp;&amp;amp; echo runmycommand&lt;BR /&gt;&lt;BR /&gt;Change the echo runmycommand to the actual command you want to run.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2002 15:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752648#M834928</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-06-26T15:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752649#M834929</link>
      <description>Hi John&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;One more creative way&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;export A='ls /tmp | grep dtdbache_ |wc -l'&lt;BR /&gt;&lt;BR /&gt;if [$A = 1 ]&lt;BR /&gt;&lt;BR /&gt;then &lt;BR /&gt;&lt;BR /&gt;command&lt;BR /&gt;&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;sleep ( interval )&lt;BR /&gt;&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Wed, 26 Jun 2002 15:28:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2752649#M834929</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-06-26T15:28:53Z</dc:date>
    </item>
  </channel>
</rss>

