- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to send mail to the user running at jobs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2005 08:17 PM
06-18-2005 08:17 PM
I recently made a backup scripts that is scheduled daily at 8:30. The issue is that within the backup script I have redirected all the output to an file, so that i can log all the relevant information.
But now I have a backuplog file and I need to send this output as mail to the user initiating the at job command
Please advice me.
AJI
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 01:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 01:53 AM
06-19-2005 01:53 AM
Re: How to send mail to the user running at jobs
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 06:19 PM
06-19-2005 06:19 PM
Re: How to send mail to the user running at jobs
mailx -s "BACKUP LOG" who@somewhere.com < ./backup.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 09:37 PM
06-19-2005 09:37 PM
Re: How to send mail to the user running at jobs
While trying to send mails it gives warnings,
$ mailx -s "test" user@domain.com
sh: domain.com: not found.
Please help me
AJi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 09:45 PM
06-19-2005 09:45 PM
Re: How to send mail to the user running at jobs
You have to try if the user is in local machine as,
mailx -s "hi" test@localhost
where, test is user name. localhost entry has to be in /etc/hosts file.
If you want to sent mail in the domain then,
--- /etc/nsswitch.conf --
hosts: files dns
--- /etc/resolve.con --
domain: aji.com
nameserver: xx.xx.xx.xx
Check the resolvation as,
nslookup
Try as,
sendmail -v
hi
bye
ctrl+d
hth.