Title: RE: Email alert for user logon

To be really complicated, you could have a perl script that you convert into a service (using Win32::Daemon or PerlSvc) that checks the server Event Log every couple of minutes (using Win32::EventLog).  You could write the times to a text file or something so that you are only checking the Event Log for the time slice since your last check.

Then you could use any of the multitude of mail modules for perl to send of a mail message if they guy is found.

-Jason

-----Original Message-----
From: Jason Scott Gessner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 03:31 PM
To: [EMAIL PROTECTED]
Subject: Email alert for user logon


Hi all!

Is there an easy way to fire off an email if a certain user logs on?

I think it could be done by periodically checking the logged on users,
but I only want 1 email for logon, 1 for logoff for a specific user.

- jason scott gessner
    [EMAIL PROTECTED]

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to