In order to bring you the best possible user experience, this site uses Javascript. If you are seeing this message, it is likely that the Javascript option in your browser is disabled. For optimal viewing of this site, please ensure that Javascript is enabled for your browser.
Login  |   Cloud ERP  |   Home  |

  •     QAD Glossary

  • Session Control Tool
    You can start or stop QXO services—for example, either all services or a particular service such as the Event Service or the Message Publisher—from the command line by using the session control tool. Using this tool you can shut services down cleanly as part of a scheduled backup process, and then start them again once the qxodb server is running.
    Note: You also can start and stop services from the QXO Dashboard; for details see Viewing Specific Services.
    The file is located in the scripts directory; the control.p file is located in the src directory.
    Note: The file contains settings for environment variables and database connections. This file is configured according to the information you provide during installation. However, you can manually edit this file to modify these settings as required.
    To operate services, enter the following at the command line:
    ./ {QUERY|START|STOP|SUSPEND|RESUME} ES [event service code]
    ./ {QUERY|START|STOP|SUSPEND|RESUME} MP [message publisher code]
    ./ {QUERY|START|STOP|SUSPEND|RESUME} MS [message sender code] [RESUME_SUB]
    ./ {QUERY|SUSPEND|RESUME} SA [source application code]
    ./ {QUERY|RESUME} SB [subscriber code]
    ./ {START|STOP} EM
    Note: Use this to start and stop the e-mail service.
    ./ {START|STOP} AR
    Note: Use this to start and stop the archive service.
    Where {QUERY|START|STOP|SUSPEND|RESUME} is the command you want to execute.
    Example: To start all services, enter the following:
    ./ START ALL
    To stop the archive service, enter the following:
    ./ STOP AR
    To suspend an event service named ES1, enter the following:
    To resume a message publisher service named MP1, enter the following:
    ./ RESUME MP MP1
    Note: If the script is going to be called from a cron job, the line tail -f $QXODIR/logs/$1.log must be removed from the end of the script.