Subject: | |
From: | |
Reply To: | |
Date: | Thu, 26 Mar 1998 11:00:45 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Glenn Cole wrote:
>
> Stan writes:
>
> > You can "roll your own" last-logon-date by doing:
> > ...
>
> Oooh, I *like* this!
>
> I was thinking of a logon UDC that would append a string to a file,
> or even selecting the logon entries in the system log files, but I
> like this much better!
>
> The only drawback is that it doesn't keep the logon history, but that
> wasn't a requirement in the first place.
> ...
Well, why not *add* the logon history to something like Stan's version?
To wit:
if finfo ( "!HPUser.LastLogn", "Exists" )
file LastLogn, old
echo !HPDateF, !HPTimeF >> *LastLogn
else
file LastLogn; save
echo !HPDateF, !HPTimeF >> *LastLogn
endif
reset LastLogn
Just my .02
+------------------------------------------------------------------+
My mind is my own, as are my ideas and opinions.
My heart, body, and soul, however, all belong to others. Tim.
+------------------------------------------------------------------+
Tim Ericson tericson DenKor Dental Management Corp.
Sr. Programmer/Analyst at denkor (aka Willamette Dental Group)
(& Systems Manager) dot com 503-526-4440 (direct number)
Programming HP3000s since 1983! http://www.denkor.com
+------------------------------------------------------------------+
|
|
|