Results 1 to 3 of 3
I inherited a utility on a Linux server and now need to modify it. My Linux\Unix scripting skills and general experience in Linux\Unix is very limited. The existing script runs ...
- 10-31-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 4
Linux script to pop up a window on a Windows Machine
I inherited a utility on a Linux server and now need to modify it. My Linux\Unix scripting skills and general experience in Linux\Unix is very limited. The existing script runs automatically every hour. Occasionally an event will happen when the script runs and I want the script to pop up a mesage on a manned windows machine alerting them to it. I already know how to check if the event happened, but I need to figure out how to use that to fire the pop up window.
I can use the following command from Linux to do it manually:
smbclient -M PCNAME -U LINUXSERVER <cr>
"Error Message" <cr>
control D
How do I add this to the script, or is there a better way?
Thank you in advance for your help, I appreciate any that is offered.
- 10-31-2007 #2Code:
smbclient -M PCNAME -U LINUXSERVER <<EOD "Error Message" EOD
- 10-31-2007 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 4
Thank you, that worked perfectly!


Reply With Quote