version 2004
4D Server can be launched as a Service under Windows and under Mac OS X.
A 4D Server application registered as a service is automatically launched on start-up of the machine with the current database, even before a user session is opened. It is not closed when the user exits their session.
This operation lets you guarantee the availability of a 4D Server database even in the event of an incident that requires restarting the machine. Maintenance can be carried out remotely.
Note: For more information about the mechanisms for managing Services, refer to the documentation of your operating system.
To register a 4D Server database as a Service, select Register Current Database as Service in the File menu of 4D Server. The next time the machine is started, 4D Server will be launched automatically and the current database opened.
You can register any number of databases. Each database can be registered only once.
Warning: Be sure to use a valid account when you open the session. In addition, this user account must have access to a printer, otherwise an error message will be displayed. Access to the services settings is generally via the Administrative Tools/Services of the Control Panel.
To unregister your database, select Unregister Current Database from the 4D Server File menu. This command is dimmed if the database is not registered as a service.
To unregister all 4D Server databases at once, select Unregister all Server Services from the 4D Server File menu. This command is dimmed if no 4D Server service is enabled.
You cannot change the service registration status of 4D Server from within 4D Server, if the application has been launched as a service on start-up. In this case, the three menu items are disabled. To stop the service, use the Services control panel.