@@ -59,39 +59,42 @@ Command line options
5959 -c, --clientname= Unique name for application instance [$PGTT_CLIENTNAME]
6060 --config= YAML configuration file
6161 --no-program-tasks Disable executing of PROGRAM tasks [$PGTT_NOPROGRAMTASKS]
62-
62+ -v, --version Output detailed version information [$PGTT_VERSION]
63+
6364 Connection:
6465 -h, --host= PostgreSQL host (default: localhost) [$PGTT_PGHOST]
6566 -p, --port= PostgreSQL port (default: 5432) [$PGTT_PGPORT]
6667 -d, --dbname= PostgreSQL database name (default: timetable) [$PGTT_PGDATABASE]
6768 -u, --user= PostgreSQL user (default: scheduler) [$PGTT_PGUSER]
6869 --password= PostgreSQL user password [$PGTT_PGPASSWORD]
69- --sslmode=[disable|require] What SSL mode to use for connection (default: disable) [$PGTT_PGSSLMODE]
70+ --sslmode=[disable|require] Connection SSL mode (default: disable) [$PGTT_PGSSLMODE]
7071 --pgurl= PostgreSQL connection URL [$PGTT_URL]
71- --timeout= PostgreSQL connection timeout in seconds (default: 90) [$PGTT_TIMEOUT]
72-
72+ --timeout= PostgreSQL connection timeout (default: 90) [$PGTT_TIMEOUT]
73+
7374 Logging:
7475 --log-level=[debug|info|error] Verbosity level for stdout and log file (default: info)
7576 --log-database-level=[debug|info|error|none] Verbosity level for database storing (default: info)
7677 --log-file= File name to store logs
7778 --log-file-format=[json|text] Format of file logs (default: json)
78-
79+ --log-file-rotate Rotate log files
80+
7981 Start:
8082 -f, --file= SQL script file to execute during startup
81- --init Initialize database schema to the latest version and exit. Can be used
82- with --upgrade
83+ --init Initialize database schema to the latest version and exit.
84+ Can be used with --upgrade
8385 --upgrade Upgrade database to the latest version
84- --debug Run in debug mode. Only asynchronous chains will be executed
85-
86+ --debug Run in debug mode. Only asynchronous chains will be executed
87+
8688 Resource:
87- --cron-workers= Number of parallel workers for scheduled chains (default: 16)
88- --interval-workers= Number of parallel workers for interval chains (default: 16)
89- --chain-timeout= Abort any chain that takes more than the specified number of milliseconds
90- --task-timeout= Abort any task within a chain that takes more than the specified number
91- of milliseconds
92-
89+ --cron-workers= Number of parallel workers for scheduled chains (default: 16)
90+ --interval-workers= Number of parallel workers for interval chains (default: 16)
91+ --chain-timeout= Abort any chain that takes more than the specified number of
92+ milliseconds
93+ --task-timeout= Abort any task within a chain that takes more than the specified
94+ number of milliseconds
95+
9396 REST:
94- --rest-port= REST API port (default: 0) [% PGTT_RESTPORT% ]
97+ --rest-port= REST API port (default: 0) [$ PGTT_RESTPORT]
9598
9699
97100 Contributing
0 commit comments