- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- email notification
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
04-06-2006 02:47 AM
04-06-2006 02:47 AM
email notification
All I need to do is create a script, that will run a program, cat its out put to a file then email my at works email address.
Now I can create the script to run the job and create the file, but can not seem to get the email part working. I was using an example from one of the threads below ie
mail me@myserver
the problem I have is in vi when I type the @ command, it moves the cursor to the start of the line (I dont really use vi that much!!! as you can probably tell)..
I also tried to email myself the file from the command line but when ever I type the @ sign it shows the @ then starts a new line. Does anyone know what I am doing wrong.
PS I am not to familiar with HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 02:52 AM
04-06-2006 02:52 AM
Re: email notification
Example:
stty kill ^V^X
(Ctrl-V allows you to enter a Ctrl character as you type.)
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 02:54 AM
04-06-2006 02:54 AM
Re: email notification
I suspect a possible keyboard problem.
stty -a should show you all your keysymbols. Look for eol; is it set to ^@ ?
you can set it with: stty eol CNTL+@
where CNTL means press the CNTL key.
Once that is sorted, you should be able to do:
mailx -s"test" me@myserver < file.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 03:10 AM
04-06-2006 03:10 AM
Re: email notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 03:28 AM
04-06-2006 03:28 AM
Re: email notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2006 03:29 AM
04-06-2006 03:29 AM
Re: email notification
stty erase "^H" kill "^U" intr "^C" eof "^D"
We have it in .profile so that we don't have to set it every time we want to run vi.