I use the bash shell and get a date automatically mailed to a particular account whenever a user logs in to the server system... This is what the script looks like... you can adapt this to just about any situation...
Code:
/bin/date | /bin/mail -s "Login Date & Time" logins@mydomain.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.