Operating System - HP-UX
1825771 Members
2154 Online
109687 Solutions
New Discussion

Re: How do I remotely execute an unix script from my pc?

 
Richard Cao
New Member

How do I remotely execute an unix script from my pc?

Hi,
I'm planing to setup a rule through outlook, once I got a specific email, send it to my pager via a script on my unix server.
my question is, how do I execute that unix script from my windows pc? can rmesh be used in windows?
5 REPLIES 5
Shannon Petry
Honored Contributor

Re: How do I remotely execute an unix script from my pc?

There are several tools which would allow you to do this. The most common are:
Paid for:
HummingBird eXceed
Novell LanWorkplace PRO

OpenSource/Freeware -
Putty

I am not sure that any of these can work through outlook as you want though.

Why not send an email to your Unix box and run the script from there? There are tons of guides and programs for Unix that allow you to monitor an email box and take action based on message.
Microsoft. When do you want a virus today?
Court Campbell
Honored Contributor

Re: How do I remotely execute an unix script from my pc?

Doesn't you pager have an e-mail address? Why not have the outlook rule just forward the e-mail? It seems like you are going to a lot of trouble to do something Outlook can already do.

"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Richard Cao
New Member

Re: How do I remotely execute an unix script from my pc?

Thank you for your fast reply Shannon. It's a good idea to send it to unix, but how do I forward my regular email to my unix box and then process it ? Can that regular email be forward to unix?
I'm going to receive a email from a person at sometime during weekend. but I don't want check my email from time to time during weekend, so I'm thinking forward his email automatically to my pager through telalert script on unix.
Tim Nelson
Honored Contributor

Re: How do I remotely execute an unix script from my pc?

Two possibilities.

1) just forward to mynumber@mycarrier.com as a direct outlook rule.

2) Spend a good amount of time configuring a script on UNIX to review incoming mail and then execute what ever you like.
configure ~/.forward file like this.
"|/mydir/mymailprog.ksh"

Then write mymailprod.ksh to execute based on the email subject, content, attachment etc..

Eric Raeburn
Trusted Contributor

Re: How do I remotely execute an unix script from my pc?

There is an 'rsh' command in c:\windows\system32