- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Scripting help needed
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
07-04-2003 01:24 AM
07-04-2003 01:24 AM
If that is not possible, maybe I could start a script that sleeps until a mail arrives in a specific mailbox, performs some tasks and then go to sleep again until a new mail arrives ?
Can someone give me some tips on how to do this ?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 02:03 AM
07-04-2003 02:03 AM
Re: Scripting help needed
mi hint:
use the command "mailx -e" every tot minutes to test if there is new mail, and take action.
If you want to use the header for more info:
-H Print header summary only.
-L Print complete header information only.
Or check "man mailx" for other options.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 02:37 AM
07-04-2003 02:37 AM
Solutiongo into
# cd /etc/mail
# vi aliases
i.e. your email account is wim.
create a line
wim: "|
save it !!!
/usr/sbin/newaliases
Now, everytime wim gets an email.
Regards
Roland
PS: Read manpage from aliases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 02:40 AM
07-04-2003 02:40 AM
Re: Scripting help needed
another hint.
You can create a .forward in your home dir.
I remember that there are tricks that can let you run every program you need at every mail that arrives...
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 02:48 AM
07-04-2003 02:48 AM
Re: Scripting help needed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 03:01 AM
07-04-2003 03:01 AM
Re: Scripting help needed
in this link !!!
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xee00d311e18ad5118ff10090279cd0f9,00.html
THer must be a .forward like this:
| yoursctipto execute
in a line.
Game is done, i think.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2003 03:52 AM
07-04-2003 03:52 AM
Re: Scripting help needed
This is great ! This is exactly what I was looking for. Thank you very much !