Steps to Execute Commands

This section describes how to execute commands.

For Windows Environment

Execute commands on Windows.
The command is executed by a user who has Administrator privileges.
This example assumes that Garoon is installed in the following environment:

  • Installation identifier: cbgrn
  • CGI directory: C:¥inetpub¥scripts
Steps:
  1. Stop the scheduling service only if you want to initialize Garoon.

    From the Windows Start menu, select "Administrative Tools" > "Services" to stop the following services:

    • Cybozu_Scheduling_Service_cbgrn

  2. Start the command prompt.

  3. Execute the following command to change the current directory:

    cd C:¥inetpub¥scripts¥cbgrn

  4. Execute the following command:

    .¥grn.exe -C -q code¥command¥[command] [parameter]

  5. Start the scheduling service only if you initialize Garoon.

    From the Windows Start menu, select Administrative Tools > service, and start the following services.

    • Cybozu_Scheduling_Service_cbgrn

For Linux Environment

Execute commands on Linux.
Execute the command as a user who has root privileges.
When Garoon is in operation under the DB distributed configuration, commands must be executed on one of the application servers (the server where Web server is running).
This example assumes that Garoon is installed in the following environment:

  • Installation identifier: cbgrn
  • CGI Directory: /var/www/cgi-bin
Steps:
  1. Start the console.

  2. Stop the scheduling service only if you want to initialize Garoon.

    /etc/init.d/cyss_cbgrn stop

  3. Execute the following command to change the current directory:

    cd /var/www/cgi-bin/cbgrn

  4. Execute the following command:

    ./grn.cgi -C -q code/command/[command] [parameter]

  5. Start the scheduling service only if you initialize Garoon.

    /etc/init.d/cyss_cbgrn start