I am assuming that your Administrative function runs on a client? Sounds like a good idea, but wondering if it might be a bit over kill for me.
Bottom line is that at some point the server is quit without regard to who is logged in at the time whether done with a quit command or issued by the Windows service. The admin can see who is logged by firing up a client on the server and opening the Administration window before shutting down the computer or shutting down the service. If after hours the admin may have no choice but to let 4D server boot the clients off. From what I gather from the responses, it really does not matter as for as 4D is concerned, it will “gracefully" quit any 4D client hanger ons before quitting no matter how it is told to quit. There should never be any damage to the data. Thanks to those who responded. John > On Aug 8, 2019, at 3:36 AM, Stephen J. Orth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > John, > > In our OEM system, which always runs as a service on Windows, we created an > Administrative function specifically designed to shutdown the Server. This > walks the Admin through a series of "checks" just to be sure they want to > shut down, and how long they want to provide users. Once they accept this, > we log it into the database and then execute a method on the Server using the > QUIT 4D command. > > Hope that helps... > > Best, > > > Steve > > ********************************************* > Stephen J. Orth > The Aquila Group, Inc. Office: (608) 834-9213 > P.O. Box 690 Mobile: (608) 347-6447 > Sun Prairie, WI 53590 > > E-Mail: s.o...@the-aquila-group.com > ********************************************* >>> On Aug 8, 2019, at 01:14, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> >>> wrote: >>> >>> What is the best practice for shutting down a windows computer when 4D >>> Server is running as a service? >>> >>> I have been opening the administration window too see if there are any >>> users connected. If so, I have been disconnecting them before shutting down >>> the computer. >>> >>> Just shutting down the computer seems to work as well, but what does 4D >>> server do in this case? >>> >>> Thanks, >>> >>> John >>> >>> >>> >>> John Baughman >>> Kailua, Hawaii >>> (808) 262-0328 >>> john...@hawaii.rr.com > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************