I am having the script works as below
If the folder is not create, the file are stored in a temporary folder to wait for the folder creation.
The Script tries and tries again to reach the folder.
The result is that the log file grows and some time is also geting wasted in the operation.
can somebody please advise or help on how to come up with this situation or restrict it. file writing log to file.
below is the sample script.
Moderator's Comments:
Please use code tags next time for your code and data.
Last edited by vbe; 11-26-2012 at 11:58 AM..
Reason: code tags please
hello,
I am using solaris 10 and sendmail 8.14.5
Main Problem
i have growing (to 1500+ mails) mailq, and mailq consists of mails older then even 1 month.
i have forced mailq by sendmail -q -v and messages went out. but it looks like, when messages enter to mailq they are not processed any... (0 Replies)
Hi
I have a requirement to write a script to capture all errors in a Logfile and send the file in email.
If there is any error occurred the subject of email will be ERROR , If there are no error occurred the subject of email will be SUCCESS.
So I created a Log file and put the Appropriate... (2 Replies)
Hi all,
I have about 15 directories all with exactly the same structure. I have a file in each of them called log.txt. This file sits in /home/ftp/*usernamehere*/ftptransfer/log/
Username here is the only change in each of the 15 directories.
I want to create a SIMPLE shell script that... (5 Replies)
Hi Experts,
i am new in shell programming. i am having some problem of checking the log file age and rename it.
for example:
when i run the shell script, the script will check how old is the log file, if the log is already 10 days old(variable). then the log file will rename.
hope to... (3 Replies)