In our system there are some error files that are generated when a process from a programm does not work.
The problem is that every 5 minutes the error file copies itself in another directory, which could fill up the system.
Now I'm trying to set up a script that run's every 5 minutes that checks if there is an error file in that directory and that mails me when there is.
My problem is now that the mail is not send without a body. I already have the mail ready to send with a header, but I still have to enter a body text and and ending (.) to have the message sent out.
How can I automate this so that there is only a subject line?
TNX
YO
The problem is that every 5 minutes the error file copies itself in another directory, which could fill up the system.
Now I'm trying to set up a script that run's every 5 minutes that checks if there is an error file in that directory and that mails me when there is.
My problem is now that the mail is not send without a body. I already have the mail ready to send with a header, but I still have to enter a body text and and ending (.) to have the message sent out.
How can I automate this so that there is only a subject line?
TNX
YO