Project Runner

The Project Runner program (adrcexec.exe) is used to execute a Report Commander Project (created using the Project Editor) from a command prompt, batch file, scheduler, script, or other tool.

See the Scheduling Report Execution topic for more information on how to use the Project Runner with a scheduling tool.

Command-Line Syntax

See the Command-Line Syntax topic for details on how to run the Project Runner.

From within the Project Editor, choose How to run project from the Help menu to display the execution commands for the project.

Overriding Settings

The Project Runner is designed to execute reports based on the settings stored in project files, and does not offer the same fine-grained control over processing options from the command line that the Command Runner does. If you need to call Report Commander from another application to do on-the-fly processing using ad-hoc settings, you should use the Command Runner instead of the Project Runner and project files.

The extensive support of variables and functions throughout the Report Commander project is intended to eliminate much need for command-line customization of execution.

The Project Runner does allow you to customize project execution in the following ways:

See the Command-Line Syntax topic for more information.

Logging and Diagnostics

The program runs as a console-mode program. It writes some progress messages and all warning and error messages to the console (you can use the logging options to adjust the level of information written to the console).

If errors occur, no error information is displayed other than what is written to the console (i.e., no error window is displayed). Therefore if you are running the Command Runner automatically through an automation tool you should configure Report Commander to create a log file when it runs, so you can review the log for messages if things do not work correctly.

The program returns an exit code as follows: