Command Line
Ianus can be executed using a command line interface.
Environment variables
The following environment variable affect Ianus behavior.
Name | Description |
---|---|
IANUS_ENVIRONMENT | Sets the path to the Ianus Environment Configuration File. |
Syntax
ianus [options] <job_script>
Command Line Options
The following options can be provided on the Ianus command line.
Option | Description |
---|---|
-e, --environment |
Load Ianus environment from file |
-s, --step |
Run step |
-V, --variables <n=v> | Set one or more enviroment variable |
-E, --end-opts | Ends options declaration |
-m, --progress-monitor | Run in "progress monitor" mode |
-C, --monitor-collapse | Collapse task progress monitor when task is completed |
-D, --monitor-dense | Use dense progress monitors for tasks |
-d, --dashboard | Run in "dashboard" mode |
-l, --log-mode |
Sets log mode to |
-c, --disable-file-cache | Disable file repository cache |
-a, --disable-actions | Disable pre/post task actions |
-t, --disable-multi-threading | Disable multi-threaded job processing |
--list-jobs | List all jobs tracked |
--list-running | List running jobs |
--show-job |
Show job |
--purge-completed | Purge completed jobs |
--purge-selected |
Purge jobs based on filter |
-?, --help | Shows help |
--version | Shows Ianus version |
Environment file selection
The environment file is selected as follows:
- if option
-e
is provided, the environment file is loaded from the specified file, otherwise - if the environment variable IANUS_ENVIRONMENT is set, the environment file is loaded from the file specified in the environment value, otherwise
- a file named
ianus.xml
is searched in the current directory
Example
C:\DATA> ianus -e environment.xml -V VAR1=A VAR2=X -E SCRIPT1.xml