This manual is deprecated. Please visit for the latest documentation.

Command Line Interface

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search

You can run any controller route on the command line too with the groupofficecli.php script. It's wise to run it as the user www-data so it will have the same permissions as apache. The -r parameter is required and is the same route as the browser would use.

So URL can be executed like this:

sudo -u www-data /usr/share/groupoffice/groupofficecli.php -r=maintenance/buildSearchCache

Optionally you can supply these parameters:

  1. -c=/etc/groupoffice/config.php to point it to the correct config.php on servermanager installations
  2. -u=admin to login as admin. It will prompt for the password.