Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any good ideas how to automatically log-off users ??
Message
 
To
08/09/1999 17:53:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00262619
Message ID:
00262858
Views:
17
>In order to do an occassional PACK of the DBC/DBFs, I wondered if there was a convenient way to log-off all users so I can get EXCLUSIVE use in the early morning hours.
>
>I wondered what would happen if the READ EVENTS command was in a
>DO...WHILE loop that monitored the system clock
>
>i.e. At 1:00am, the program would run a shutdown routine.
>
>Any ideas or suggestions would be appreciated.

IF you are running the app on a Novell server, I have used a small program called WhoHasIt. It works like the Novell Monitor in that you can point to a file, the Exe in this case, and it shows you everyone with a lock on it. You can then message that user or disconnect them if you have appropriate rights. I agree with the other messages in this thread, be careful about arbitrarily disconnecting users. But if you are on Novell and if you don't have access to run Monitor, this can be a useful tool for finding users in the system. Then a couple of calls (hopefully) can result in getting them to shut down gracefully.

HTH
Oct 31 = Dec 25
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform