Monday, November 08, 2010 at 12:06 AM.

system.verbs.builtins.webserver.apache.stop

on stop () {
	<<Changes
		<<11/23/08; 4:55:17 AM by DW
			<<Allow 15 seconds for it to stop before returning.
		<<11/23/08; 4:39:05 AM by DW
			<<Created. Stop Apache so we can roll the log files or whatever. I only have code for this on Windows at this time.
	if system.environment.isWindows {
		sys.dosBatchCommand ("net stop apache2.2");
		clock.waitseconds (15)}} //takes a few seconds to stop
<<bundle //test code
	<<stop ()



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.