Main > User Guide > Batch commands > frepple (frepple.exe on Windows)
This executable runs the planning engine and solver.
The program reads XML input data, and executes the modeling and planning commands included in them.
This executable is more relevant when you use only the frePPLe solver capability in the back end, and you have developed your own front end and data store.
If you are using the user interface of frePPLe, it is recommended to use the command 'manage.py frepple_run' instead of this executable.
Usage:
- frepple [options] [files | directories]
Passing one or more XML files and/or directories.
The arguments are processed sequentially.
When a directory is specified, the application will process all files in it with the extension '.xml' in alphabetical order. - frepple [options]
When passing no file or directory arguments, input will be read from the standard input. Output from other programs can be piped to the command.
Options:
- -validate -v:
Validate the XML input for correctness, as defined in the frepple.xsd schema.
This validation is disabled by default. - -check -c:
Only validate the input, without executing the content. - -? -h -help:
Show help.
The program will automatically execute the commands in the init.xml and init.py files.
The variable FREPPLE_HOME optionally points to a directory where the initialization files init.xml, init.py, frepple.xsd and module libraries will be searched.
The return code is 0 when the program completes succesfully, and non-zero in case of errors