Re-index environment (Command Line Utility)

Command line for rebuilding indices and updating the statistics in the SQL database. This matches the Rebuild indexes and update statistics option in Environment Manager.

We recommend that you perform this option every night. By default only indexes and statistics are updated if this is required; this improves the performance of the update process.

For a local installation, you can schedule this option via Profit. You do not have to configure the command line.

Data

 

Action:

REINDEX

General options:

Default.

Examples:

"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE"/O"Environment name " /G"Username" /W"Password" REINDEX

See also

Directly to

  1. General command line options