Sponsored Content
Top Forums Shell Programming and Scripting Generate a mail when you add info to a txt file Post 302468547 by jim mcnamara on Wednesday 3rd of November 2010 06:10:40 AM
Old 11-03-2010
Yes.

You need to provide exact examples of the data and what you expect to end up in the email
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need to attach a txt file while sending mail

Hi, I need to attach a txt file while sending mail thru Unix. Please help me out in this.. -Charan. (9 Replies)
Discussion started by: charan81
9 Replies

2. Emergency UNIX and Linux Support

Generate Info From a Unix Binary

We have a situation where a binary from our build system is failing in one specific flow but the same from dev works fine. We are sure that build system picks up the right libs and code, however we see a difference of 6000 bytes in both. (build - 6000 bytes = size of dev binary) Hence we would... (7 Replies)
Discussion started by: uunniixx
7 Replies

3. Shell Programming and Scripting

Monitor log file for a Error and generate the e-mail.

This is my log file and this is live log. Any abnormal error other than following I need to generate the email. Log path : /DER/app/admin/ABC/bdump/erg.log Current log# 2 seq# 103046 mem# 0: /ora2/oradata/ABC/redo02a.log Current log# 2 seq# 103046 mem# 1:... (1 Reply)
Discussion started by: hishanms
1 Replies

4. Shell Programming and Scripting

How to monitor log file for a Error and generate the e-mail ( Please help)

This is my log file and this is live log. Any abnormal error other than following I need to generate the email. Log path : /DER/app/admin/ABC/bdump/erg.log Current log# 2 seq# 103046 mem# 0: /ora2/oradata/ABC/redo02a.log Current log# 2 seq# 103046 mem# 1:... (7 Replies)
Discussion started by: hishanms
7 Replies

5. Shell Programming and Scripting

problem with sending mail from txt file having HTML code via sendmail -t

Hi, i have the following code in shell named as test3.sh.. #!/bin/sh . /home/<user>/.profile export dt=`date "+%d%b%y"` export tim=`date "+%d%b%y %HM:%MM"` cd export WD=`pwd` SID="<sid>" export SID export ORACLE_SID=$SID export ORACLE_HOME=/oracle/$SID/102_64 export... (4 Replies)
Discussion started by: jassi10781
4 Replies

6. UNIX for Dummies Questions & Answers

how to generate random number as as the first column of a txt file

Dear all, I have a question. I have a txt file say 4000 rows X 1800 Column. I 'd like to creat a new column as the first column which is a column of random numbers (n=4000) thanks a lot! Lin (2 Replies)
Discussion started by: forevertl
2 Replies

7. Windows & DOS: Issues & Discussions

2 Questions: replace text in txt file, add text to end of txt file

so... Lets assume I have a text file. The text file contains multiple "#" symbols. I want to replace all thos "#"s with a STRING using DOS/Batch I want to add a certain TEXT to the end of each line. How can I do this WITHOUT aid of sed, grep or anything linux related ? (1 Reply)
Discussion started by: pasc
1 Replies

8. Shell Programming and Scripting

Unable to attach a .txt file or .log file to mail and mailx command

Hi, I am trying to attach a .log file or .txt file to mail command to send an email once my ksh script executed. I am unable to use mutt command as it has been not installed and i am not supposed to install it. I have tried many ways by googling which has not helped me to succeed. Here is my... (5 Replies)
Discussion started by: Samah
5 Replies

9. Shell Programming and Scripting

Generate fixed length txt file

hi, i am using below query to generate the fixed length txt file. this sql is being called from shell script. This is supposed to be a fixed record file with the below definitions. There must be 2 byte filler after the CAT_ID AND each line should have total of 270 bytes. field ... (1 Reply)
Discussion started by: itzkashi
1 Replies

10. Shell Programming and Scripting

How to store info from a txt file into a hash?

I'm trying to make a perl script using the "open" command to open and read a file, storing the information in said file into a hash structure. This is what is inside my file- Celena Standard F 01/24/94 Cancer Jeniffer Orlowski F 06/24/86 None Brent Koehler M 12/05/97 HIV Mao Schleich... (4 Replies)
Discussion started by: Eric1
4 Replies
MAILGRAPH(8)						      System Manager's Manual						      MAILGRAPH(8)

NAME
mailgraph - daemon which produces graphs of SMTP traffic SYNOPSIS
mailgraph [ options ] DESCRIPTION
mailgraph is a daemon which produces mail statistics RRDtool for Postfix and Sendmail. This stats are stored for generating daily, weekly, monthly and yearly graphs of sent/received/rejected and bounced/viruses/spam mails. OPTIONS
-h, --help Display help and exit. -v, --verbose Be verbose about what you do. -V, --version Output version information and exit. -c, --cat Cause the logfile to be only read and not monitored. -l, --logfile file Monitor logfile file instead of /var/log/syslog. -t, --logtype type Set logfile's type (default: syslog). -y, --year Start year of the log file (default: current year). --host=HOST Use only entries for HOST (regexp) in syslog. -d, --daemon Start in the background --daemon-pid=FILE Write PID to FILE instead of /var/run/mailgraph.pid. --daemon-rrd=DIR Write RRDs to DIR instead of /var/lib/mailgraph/. --daemon-log=FILE Write verbose-log to FILE instead of /var/log/mailgraph.log. --ignore-localhost Ignore mail to/from localhost (used for virus scanner). --ignore-host=HOST Ignore mail to/from HOST (used for virus scanner). --no-mail-rrd Do not update the mail rrd. --no-virus-rrd Do not update the virus rrd. --no-greylist-rrd Do not update the greylist rrd. --rrd-name=NAME Use NAME.rrd, NAME_virus.rrd and NAME_greylist.rrd for the rrd files. --rbl-is-spam Count rbl rejects as spam. --virbl-is-virus Count virbl rejects as viruses. SEE ALSO
rrdtool(1), RRDs(3pm) AUTHOR
David Schweikert <dws@ee.ethz.ch> MAILGRAPH(8)
All times are GMT -4. The time now is 10:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy