---------- Post updated 10-24-11 at 12:17 AM ---------- Previous update was 10-23-11 at 11:13 PM ----------
Hi Peasant,
I got a problem with the code., its sending mails even if the files have come., this is the script i have used
I dont know where i went wrong., i get mails but the issue is even if the file is present i m getting it
Last edited by Franklin52; 10-24-2011 at 03:49 AM..
Reason: Please use code tags, thank you
I need to make a select menu that gives options dynamically based on whether certain files are available. For instance:
PS3="Open which readme? "
select readme in This That
do
case "$readme" in
This) open -a /Applications/TextEdit.app This.txt;;
That) open -a... (6 Replies)
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Hi, Im new in shell programming.
I need to know the availability for specific printers. We send requests from solaris to printers located at an NT server. My idea is creating a shell that will monitor availbaility and send an email when something is wrong.
I have a file with printers and its... (2 Replies)
Hi All,
My script gets aborted as it is connecting as a remote database through a DB link on every 3rd sunday.As the remote DB is down for more than 6 hours.
Can TNSPING DBNAME inside my script ensure the database is up???
Then how can i check the database is up or down ?
... (2 Replies)
hi all
i have two files in unix
1.table.name
2.all.tables
i need to check the availability of all data of table.name in all.tables.both the table contains n number of data.i need a script which will check one by one whether the data exist in table.name or not.I want this in SH. (1 Reply)
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Hi,
I need a help with my script.
Below is my script. What I am doing here is finding the date of the file which I need to process and then finding the list of file names.
Based on the list of file names, check has to be done to see if all the files are there and log the details to a error... (3 Replies)
Hi,
I want to set up a iscsi high availability with sheepdog distributed storage.
Here is my system set up. Four nodes with sheepdog distributed storage and i am sharing this storage through iscsi using two nodes as well as using a virtual ip set up using ucarp.Two nodes using same iqn. And... (0 Replies)
I have to check a directory on Linux (via shell Script which I am trying to build) for about 20 different source files with file patterns and if the files are made available in the directory, I should place flag files for which my other ETL jobs are waiting on to kick off. If the source files are... (6 Replies)
hi guys
I posted problem last time I didn't find answer to my issue.
my problem is as below:
I have two servers which work as an actif/standby in high availability system.
but when i use command HASTAT -a i have the following message: couldn' find actif node.
the servers are sun... (1 Reply)