Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004

    Question Unanswered: shell scripting help

    I have a requirement to write a shell script for the following pupose...

    The situation is :

    There is an Error file which keeps growing. When this shell script executes it should run until the error code appears 10 times.
    When the Error code appears in the file for the 11th time, a mail needs to be sent to someone using mailx.

    Note that the Error Code might have already appeared many times earlier before the script is run.

    Please let me this can be done...thanx...p

  2. #2
    Join Date
    Oct 2003
    please give an example from the error file.
    Which errors you want to select.
    What will you do with the file after 11 errors had accurred.
    Please give more information.
    Greetings from germany
    Peter F.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts