Language:


Shutting Down

Remember to make a back-up before shutting HansaWorld Enterprise down. Backing up is described here.

Single-user
To shut HansaWorld Enterprise down, select 'Quit' from the File menu. Mac OS X users can find the 'Quit' command on the HansaWorld menu. You can also use the Alt-F4 (Windows and Linux) or ⌘-Q (Mac OS X) keyboard shortcuts. All open windows will be closed, and you will be asked if you want to keep any changes that have not yet been saved.

Multi-user
You can close HansaWorld Enterprise clients as described in the 'Single-user' section immediately above: by selecting 'Quit' from the File or HansaWorld menu.

If you are using the command line server application on Mac OS X or Linux and if you are not running the server process in the background, bring the Terminal window to the front and press the Ctrl-C key combination. Alternatively, open a new Terminal window and type the following:

ps
This displays the process IDs for each Terminal process

kill pid
(where pid is the process ID for the server process)
If you are running the server process in the background, use the ps and kill commands either in the relevant Terminal window or in a new one.

If you are using the service application (Windows), open the Control Panel and double-click 'Administrative Tools' and then 'Services'. Find and select 'HansaWorld Enterprise 5.4 Service' in the list and choose to stop the service.

If you are using a GUI server application, you can shut it down using one of two methods:

  1. If you use 'Quit' on the File or HansaWorld menu or use the Alt-F4 (Windows and Linux) or ⌘-Q (Mac OS X) keyboard shortcuts, the server will automatically enter server mode the next time you start it up.

  2. If you use 'Quit, Remove Autoserver' on the File menu, the server will not go into server mode the next time you start it up. You should use this option if you want to do some work on the server.
If you need to close the server down and there are some clients logged in, you can send a warning message. To do this, you should be working on a client and you should have logged in as a system administrator (i.e. as a Person that has access to the Technics module), as described here. Follow these steps:
  1. Select 'Technics' using the [Module] button in the Master Control panel.

  2. Click the [Routines] button in the Master Control panel and click [Maintenance].

  3. When the 'Maintenance' list window appears, double-click 'System Message'. The following window appears:

    Complete the window as follows:
    Message
    Type in the message that you want every user to read.

    From
    Type in the author of the message: this will also be shown to all users. Your name (i.e. the name of the current user) will appear here by default.

    Time until Shutdown
    Specify here the number of minutes that you want to wait until the server shuts down. This should be sufficient time to allow the other users to save their work and quit HansaWorld Enterprise.

    If this field contains a value, the server will be shut down automatically after the specified period of time. If this field does not contain a value, the server will not shut down. This means that you can also use this function to send a message to all users at any time.

    Shutdown will Remove Autoserver
    If the Time until Shutdown field above contains a value, the server will be shut down automatically after the specified period of time. Check this box if you want the server to be shut down in the same way as if you had used the 'Quit, Remove Autoserver' option. Do not check this box if you want it to be shut down in the same way as if you had used the 'Quit' option. This only applies if you are using the GUI application as your server.

    Disallow Login
    Check this box if you want to prevent new users logging in during the Time until Shutdown.
  4. Click the [Run] button in the Button Bar. The Message will be shown to all users.

  5. Close your own HansaWorld Enterprise client.

  6. The server will shut down automatically after the specified time.