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.
| [reply] |
Thanks for your valuable information
| [reply] |
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.
| [reply] [d/l] |
Thank you sasikumar.
Could you please tell me the discussion board for shell programming
thanks
| [reply] |
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.
| [reply] [d/l] |