01-19-2007
Once the process is over
echo $LOGNAME $HOSTNAME|mailx -s "The PID process is over"
abc@mail.com
hope this should be fine. you can get the logname and corresponding hostname in mail. i think you can include this line in the end of the job which u used to run so that once the job is over it sends the mail with the login id.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i am trying to send mail with attachment to web-based email client like gmail.com using mailx. the problem is it is displayed in content rather than as attachment.
the code i am using is as follows,
uuencode test1.txt test1.txt | mailx -s "test only" aaaa@gmail.com
does anyone... (1 Reply)
Discussion started by: randomcz1
1 Replies
2. UNIX for Advanced & Expert Users
Hi folks
OS- Debian Etch
Xen
postfix
courier
perdition
perdition-mysql
MySQL
Single public IP
Dom0 - Debian Etch workstation
Server-1, domU1 for routing with perdition and perdition-mysql
installed
Server-2, domU2, mail server for domain-A
Server-3, domU3, mail server for... (2 Replies)
Discussion started by: satimis
2 Replies
3. Solaris
Hello everyone
I have a problem and I need your help:
I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server.
I need send an email from Solaris servers preferably using Centos4 email server.
I have no mail service configured in my Solaris computers (1 Reply)
Discussion started by: aflores
1 Replies
4. Solaris
Dear all,
We have SMTP server in our organization & i want to send e-mails from solaris machine using sendmail ... in which file i need to put the smtp server ip, username & passwd..
kindly help ....... (4 Replies)
Discussion started by: vishwanathhcl
4 Replies
5. UNIX for Dummies Questions & Answers
hi, i'm running openldap on ubuntu 10.04, creating new items with apache directory studio (windows version).
i use the ldap just as an address book to our small office (email clients are windows live mail 2009, 2011, microsoft outlook 2007 and 2010).
a. i cant see a list of the contacts,... (0 Replies)
Discussion started by: V4705
0 Replies
6. UNIX for Advanced & Expert Users
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
7. UNIX for Dummies Questions & Answers
Hi,
I want to send an email from server to my gmail account for all critical messages reported in the server. Kindly help me in configuring the same.
Regards
Rochit (1 Reply)
Discussion started by: rochitsharma
1 Replies
8. Linux
I need to send an email from linux using mail command. The problem is I can't hardcode the to: emailaddress, The email address is saved in a recipient.lst file on the server in this format:
To: a@b.com
Thanks a lot.
il_labor (1 Reply)
Discussion started by: il_labor
1 Replies
9. Red Hat
I need to send an email from linux using mail command. The problem is I can't hardcode the to: emailaddress, The email address is saved in a recipient.lst file on the server in this format:
To: a@b.com
Thanks a lot.
il_labor (1 Reply)
Discussion started by: il_labor
1 Replies
10. UNIX for Advanced & Expert Users
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
LEARN ABOUT OPENSOLARIS
disown
disown(1) User Commands disown(1)
NAME
disown - ksh93 built-in function to disassociate a job with the current shell
SYNOPSIS
disown [job ...]
DESCRIPTION
The ksh93 disown command prevents the current shell from sending a HUP signal to each of the specified jobs when the current shell termi-
nates a login session.
If job is omitted, disown sends the HUP signal to the most recently started or stopped background job.
OPERANDS
The following operands are supported:
job Specifies the job or jobs on which disown operates.
Specify job as one of the following:
number Refers to a process ID.
-number Refers to a process group ID.
%number Refers to a job number.
%string Refers to a job whose name begins with string.
%?string Refers to a job whose name contains string.
%+ or %% Refers to the current job.
%- Refers to the previous job.
EXIT STATUS
0 Successful completion.
>0 One or more specified jobs does not exist.
EXAMPLES
Example 1 Disowning a Job
The following example disowns job 1:
example% disown %1
AUTHORS
David Korn, dgk@research.att.com
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO
bg(1), jobs(1), ksh93(1), wait(1), attributes(5)
SunOS 5.11 18 Apr 2007 disown(1)