Page 1 of 1 1
Topic Options
#117053 - 2004-03-30 11:55 AM Log off script
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Dear all,

Im after a log off script to delete two folders and run a asset collection. (Cant do it at logon because of the amount of time assest coolection takes and also running remote users through a 56k line)

I have done a search but ended up with a broken post, can someone please direct me to an example and a bit of explanation?

Many thanks

Aaron
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#117054 - 2004-03-30 12:49 PM Re: Log off script
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
What version of Windows are the clients running?
Top
#117055 - 2004-03-30 01:00 PM Re: Log off script
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
NT 4 unfortuneltey
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#117056 - 2004-03-30 02:43 PM Re: Log off script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You need a third-party utility to run logoff scripts under Windows NT 4.0. Yu could laos have th login script fire off a RUN event for a separate script which would then run after the user logged in. You would also restructure this script to separate out data collention (locally) and data transmission (to remote system).
_________________________
There are two types of vessels, submarines and targets.

Top
#117057 - 2004-03-30 02:54 PM Re: Log off script
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Alternatively, simply run the data collection as a scheduled task.

Your scheduled job will update an "in progress" data area, and copy it to "last completed" area when it successfully finishes gathering the information.

When the user logs on, retrieve the "last completed" data, and update the local data collection scripts if needed.

Top
#117058 - 2004-03-30 03:12 PM Re: Log off script
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Thanks guys, ill weigh up the options...
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 756 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.053 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org