Sponsored Content
Top Forums Shell Programming and Scripting send mail after script finishes running Post 302115513 by rein on Wednesday 25th of April 2007 08:22:06 AM
Old 04-25-2007
or use a log parser, this may work if changing the logging statements in your scripts isn't possible.
 

10 More Discussions You Might Find Interesting

1. AIX

Able to send mail without running MTA (sendmail)?

Hi, I am facing a (for me and coworkers) strange behaviour. When I stop sendmail on a plain AIX 5.3 testing box (there is definetly no sendmail process left running anymore), I am still able to send mails to remote addresses via the mail command. I tried that on another box which is not a... (6 Replies)
Discussion started by: zaxxon
6 Replies

2. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

3. Shell Programming and Scripting

Help-send mail script

Hi, I have written one script for sending mails with attachment. currently its working for only one recipient. I want to send mails to n number of users by taking user input i.e number of users. Output of current script: Enter how many files : 1 Enter First Name : kiran E-Mail... (2 Replies)
Discussion started by: kiran_j
2 Replies

4. Shell Programming and Scripting

script to send mail !!

Hi Experts.. i have created a table with the fields, empid name mailid 1 raja raja@xy.com and entered the values of all persons who are in that file... i have a .csv file date shift1 shift2 6/6/2011 ram raja Now i want a script that could fetch the data in (input file .csv file) and... (3 Replies)
Discussion started by: cratercrabs
3 Replies

5. Shell Programming and Scripting

not able to send the mail through perl script

I have written small piece of code to send mail through perl script.Below is the code.I have executed it as # perl perlmail.pl and the code got executed with no errors. Still have not received any mail. Also I have installed Mail::send module from CPAN directly but no luck. Could any mail... (2 Replies)
Discussion started by: giridhar276
2 Replies

6. Shell Programming and Scripting

To send a mail through shell script

I want to send a mail through shell script,If it is possible Please give me a code. mail id : upload.xxx@example.com (8 Replies)
Discussion started by: kannansoft1985
8 Replies

7. UNIX for Beginners Questions & Answers

Grep the 'not running' jobs and will send the update in mail with its name(job)

my request is: i have to create a script , which will grep the 'not running' jobs and will send the update in mail with its name(job) Scenario: logged in to machine abc went to particular path: cd /a/b/c then ./script1.sh status (script.sh is a script,whose status gives info about 10 jobs... (1 Reply)
Discussion started by: learner987
1 Replies

8. UNIX Desktop Questions & Answers

Need to send mail only when the job is not running

I have set up a cron, which will send the mail with not runnnig jobs in the script.sh 15,30,45 * * * * /a/b/c/script.sh | grep not | mail -s "test mail" learner987@gmail.com But i dont want mail when all the jobs are running, but with the above cron i will get mails without the content(if all... (2 Replies)
Discussion started by: learner987
2 Replies

9. Shell Programming and Scripting

A shell script to run a script which don't get terminated and send a pattern from the output by mail

Hi Guys, I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies

10. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
nfslog.conf(4)						     Kernel Interfaces Manual						    nfslog.conf(4)

NAME
nfslog.conf - NFS server logging configuration file SYNOPSIS
DESCRIPTION
The file specifies the location of the NFS server logs, as well as the location of the private work files used by the NFS server and nfs- logd(1M) daemon during logging. Each entry in the file consists of a mandatory tag identifier and one or more parameter identifiers. The parameter identifier specifies the value or location of the specific parameter. For instance, the parameter identifier specifies the location of the NFS server activity log. The mandatory tag identifier serves as an index into the file to identify the various parameters to be used. At export time, the share_nfs(1M) command specifies the NFS server logging parameters to use by associating a tag from the file to the exported file system. It is legal for more than one file system to be exported using the same logging tag identifier. A "global" tag identifier is included in It specifies the default set of values to be used during logging. If no tag identifier is speci- fied at export time, then the values in the "global" entry are used. The "global" values can be modified by updating this entry in Each entry in the file must contain a mandatory tag identifier and at least one parameter/value pair. If a parameter is not specified in a given entry, the global value of the parameter will be used. The exact entry syntax follows: The entries are described here. Specifies the directory where the log and work files will be placed. This path is prepended to all relative paths specified in other parameters. Specifies the location of the user-readable log file. The log will be located in the unless path is an absolute path. Specifies the location of the private file handle to path mapping database files. These database files are for the private use of the NFS server kernel module and the daemon. These files will be located in the unless path is an absolute path. These database files are permanently stored in the file system. Consult nfslogd(1M) for information on pruning the database files. Specifies the location of the private work buffer file used by the NFS server kernel module to record raw RPC information. This file is later processed by the daemon, which in turn generates the user-readable log file. This work buffer file will be located in the unless path is an absolute path. Sets the format of the user-readable log file. If not specified, the format is used. The format is compatible with log files generated by the Washington University The for- mat provides a more detailed log, which includes directory modification operations not included in the basic format, such as and Note that the format is not compatible with Washington University's log format. WARNINGS
Log files, work files, and file handle to path mapping database can become very large. Be aware of appropriate placement within the file system name space. See nfslogd(1M) for information on pruning the database files and cycling logs. EXAMPLES
Example 1: Using the global Tag The tag may be modified so that all exported file systems that enabled logging use a common set of parameters that conform to the specific needs of the user. These values are used until a specific tag identifier overrides them. Example 2: Overriding the Global defaultdir and logformat Because log files can become very large, it may be desirable to store the log and work files in separate file systems. This can be easily accomplished by simply specifying a different for every file system exported by means of a unique tag: File systems shared with the engineering identifier will have their log and work files located in For instance, the log file will be located at Note that the engineering log file will be stored in the extended format, while the rest of the log files will remain in the basic format. Any of the parameters can be updated in a tag identifier, which overrides the global settings. SEE ALSO
nfslogd(1M), share_nfs(1M). nfslog.conf(4)
All times are GMT -4. The time now is 06:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy