# planta_headless.py --version
planta_headless.py 39 Mars
# planta_headless.py --help
Usage: planta_headless.py [options]
Options:
--version Shows the version number and closes the program
-h, --help Shows this help message and closes the program
-q, --quiet Suppresses all output (default)
-v, --verbose Increases the verbosity level with each event: Info-
Message, XML sent, XML received
Connection settings:
-s HOST:PORT, --service=HOST:PORT
Connection to server
-t TIMEOUT, --timeout=TIMEOUT
Waiting time until job termination in seconds, -1 for
no time out
Login options:
-u USER_NAME, --user=USER_NAME
User name for the PLANTA system login
-a TYPE, --auth_type=TYPE
used authentification type for PLANTA login-
System: "osuser" or "challenge"
-p SECRET_FILE, --secret=SECRET_FILE
File containing the password hash
Job specifications:
-m MOD_ID, --module=MOD_ID
The job opens the module with the specified ID on the server.
-f PYTHON_FILE, --py_file=PYTHON_FILE
The job runs a python file
on the server.
-c PYTHON_CODE, --py_code=PYTHON_CODE
The job runs a Python code snippet
on the server.