« Return to Thread: 2K3 batch file to send alert

2K3 batch file to send alert

by James Newtons Massmind :: Rate this Message:

Reply to Author | View in Thread

So you have a little batch file in a win 2003 server that gets fired up on a
regular basis by the job scheduler to do something or check something and if
it runs into a problem, it needs to contact a human for help.

Are there any good ways to do that? Here is what I can think of or find:

- Send an email by calling a CScript .vbs file and use CDONTs to contact a
local email server and SMTP a message to someone. This is a kludge on a hack
and you better hope you have the email server set up.

- Install a little program like blat to send the email for you. Again, make
sure you don't change the email server and forget about this script and its
(now incorrect) config.

- Net send, but that seems to have been removed or doesn't work unless the
user has a windows messaging client running.

- Copy a READMENOW.TXT file onto the administrators desktop and wait for him
or her to log in again?

There has got to be a better way, no?


James Newton: PICList webmaster/Admin
mailto:jamesnewton@...  1-619-652-0593 phone
http://www.piclist.com/member/JMN-EFP-786
PIC/PICList FAQ: http://www.piclist.com


--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

 « Return to Thread: 2K3 batch file to send alert