Steps to Execute Commands
This section describes how to execute commands.
For Windows
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
-
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
-
Start the command prompt.
-
Execute the following command to change the current directory:
cd C:\inetpub\scripts\cbgrn -
Execute the following command:
.\grn.exe -C -q code\command[command] [parameter] -
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
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
-
Start the console.
-
Stop the scheduling service only if you want to initialize Garoon.
/etc/init.d/cyss_cbgrn stop -
Execute the following command to change the current directory:
cd /var/www/cgi-bin/cbgrn -
Execute the following command:
./grn.cgi -C -q code/command/[command] [parameter] -
Start the scheduling service only if you initialize Garoon.
/etc/init.d/cyss_cbgrn start