[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

is it possible to send a message to users after a reboot / startup before login?

hi , i wanted to send users a message when the server is rebooted and give them time to save there work, which i've managed by doing just a batch file  (net send * "server reboot in 5 mins, please save your work"
call sleep.exe 300
net stop msexchangesa /y
shutdown /r)
and being lazy i just opt for clicking the batch file rather than trying to tie it onto the shutdown commands

but what i wanted to do was get a message which would appear when the server restarted, i've already got it to do it with a logon script,  but is there a way i can get a net send message (or any better way of sending a message if there is one)  to be sent when the server starts without having to log onto the server?

many thanks
matt
0
devoncider
Asked:
devoncider
  • 3
  • 2
1 Solution
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Sure, you can use the Health Monitor to do this for you by sending an Alert, essentially based on a particular System Event.  Since the system automatically sends the Administrator an alert when the server comes back up (via email) you just need to create one that sends a message through messenger.

Open Administrative Tools > Health Monitor.  Create a New Action that is Script Based, and then base that action on the "System Up Time" Alert.

Jeff
TechSoEasy
0
 
devonciderAuthor Commented:
um i've managed to make a new script event, but could you tell me how i base it on the uptime?  also the health monitor only seams to show up the connect time of today at 1:32  (server has been up for weeks now) any ideas to what im doing wrong here?
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
In the Core Server Alerts, right click System Uptime and select Properties > Actions.  Add your new Script action to this monitor and then you'll have to reboot the server to test it.

Jeff
TechSoEasy
0
 
devonciderAuthor Commented:
i've not had any luck with this im afraid, (a more pressing problem seams to have sprung up that the inetinfo process is eating an awfle lot of memory and making the server grind to a hault ((it's at 1.7gb of memory usage atm) but you might as well have the points as its not your fault i've failed abjectly to use your advice

matt
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Okay, thanks... take a look at this newsgroup thread for your inetinfo issue:  http://snipurl.com/sw3d

Jeff
TechSoEasy
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now