<?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 help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720115#M62870</link>
    <description>why not put it in cron and run it every 5 minutes?  or, have the script rerun itself in 1 minute should if find an error:&lt;BR /&gt;&lt;BR /&gt;echo "[full path of script]|at -m 1&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
    <pubDate>Thu, 09 May 2002 13:24:22 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2002-05-09T13:24:22Z</dc:date>
    <item>
      <title>Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720113#M62868</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I was wondering if anyone has a script already that would check for an "error pattern" in the logs and emails/pages out if that error occurs. I need to cron that every 5 minutes.&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciaed.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Wed, 08 May 2002 23:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720113#M62868</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-05-08T23:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720114#M62869</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For now, the script that I am testing currently works if run every 30 minutes. I  couldn't think of any other methods that the script could be modified to run more frequently.&lt;BR /&gt;&lt;BR /&gt;I've attached the script.&lt;BR /&gt;&lt;BR /&gt;Any suggestions/ideas ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Thu, 09 May 2002 00:01:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720114#M62869</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-05-09T00:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720115#M62870</link>
      <description>why not put it in cron and run it every 5 minutes?  or, have the script rerun itself in 1 minute should if find an error:&lt;BR /&gt;&lt;BR /&gt;echo "[full path of script]|at -m 1&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Thu, 09 May 2002 13:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720115#M62870</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-05-09T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720116#M62871</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do you try to put:&lt;BR /&gt;if [ "${CTIME}" -le 040000 ]; then&lt;BR /&gt;  TSPREAD="999999"&lt;BR /&gt;else&lt;BR /&gt;  TSPREAD="0500"&lt;BR /&gt;fi&lt;BR /&gt;Where are this:&lt;BR /&gt;if [ "${CTIME}" -le 040000 ]; then&lt;BR /&gt;  TSPREAD="999999"&lt;BR /&gt;else&lt;BR /&gt;  TSPREAD="3000"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Thu, 09 May 2002 13:36:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720116#M62871</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-05-09T13:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720117#M62872</link>
      <description>Hi Khan,&lt;BR /&gt;Attached is the script that I use.&lt;BR /&gt;It does check for named, yp, sendmail syslog etc...</description>
      <pubDate>Thu, 09 May 2002 13:43:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720117#M62872</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-05-09T13:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720118#M62873</link>
      <description>&lt;BR /&gt;Initially changing the tspread logic to 5 minutes didn't work and later I changed the logic further down the program and forgot to change it back to 5 minutes.&lt;BR /&gt;&lt;BR /&gt;The testing so far has been successful.&lt;BR /&gt;&lt;BR /&gt;Thanks for pointing me in the right direction Justo !&lt;BR /&gt;&lt;BR /&gt;-Shabu</description>
      <pubDate>Thu, 09 May 2002 17:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720118#M62873</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-05-09T17:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720119#M62874</link>
      <description>Attached is a down and dirt that works fine for us. As you can see, you may grep for additional entries.&lt;BR /&gt;The date portion parses out only the current month's errors.&lt;BR /&gt;Best of Luck.&lt;BR /&gt;dl</description>
      <pubDate>Thu, 09 May 2002 19:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720119#M62874</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2002-05-09T19:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720120#M62875</link>
      <description>You are welcome Shabu.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Fri, 10 May 2002 06:06:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720120#M62875</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-05-10T06:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720121#M62876</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;you coluld set up crontab to do this&lt;BR /&gt;&lt;BR /&gt;dmesg - | mailx ...&lt;BR /&gt;&lt;BR /&gt;this will give you any error messages which have occured since the last time dmesg was run after the first time.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;John.</description>
      <pubDate>Fri, 10 May 2002 06:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2720121#M62876</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-05-10T06:11:39Z</dc:date>
    </item>
  </channel>
</rss>

