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 **********************************************************************