NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Could u please explain
by davidrw (Prior) on Apr 14, 2005 at 14:11 UTC
    This is probably off-topic and better suited for a linux shell newsgroup, but here's a few pointers:
    • what shell is this? (my guess is bash)?
    • man (not dog) is your best friend... I don't know what sqlplus does, but "man sqlplus" is likely to tell you. or "sqlplus --help".
    • Basic structure of this script is that it sets up a bunch of variables, then it runs sqlplus, then waits for 30 seconds, then emails (man mailx) PRINT-GROUP w/subject "Printfile Delete" and body is the contents of the purge.lst file.
      Thanks for your valuable information
Re: Could u please explain
by sasikumar (Monk) on Apr 14, 2005 at 14:18 UTC
    Hi

    Its not related to perl but realy something that all the *nix user would know. Its just setting up the environment variables and executes a sql file named /print/production/bin/purge.sql

    And then sleeps for 30 seconds and mails the details to a group .
    sqlplus @/print/production/bin/purge.sql
    This would execute the sql script in the sql prompt.

    Thanks
    SasiKumar
      Thank you sasikumar.
      Could you please tell me the discussion board for shell programming
      thanks
        Oops , I am not that smart ;)
        I am not an expert but i learned all thru trail and error. The best that i can tell u is to use the man pages. for any command
        man <command name>
        This is best
        All the shell programs are now with perl better to implement all in perl rather than using the shells and fighting for solution.
        Thanks
        SasiKumar