Class - jobs.job_system.JobConfig
¶
JSON Schema¶
JobConfig¶
Configuration parameters for the {
"base_dir": "/var/mitto/data",
"json_file": "system_status",
"max_disk": 90.2,
"max_memory": 90,
"write_json": "true"
}
|
||
type |
object |
|
properties |
||
|
Base Dir |
|
Absolute path to the directory where the log file is stored. |
||
type |
string |
|
default |
/tmp/mitto/data |
|
format |
directory-path |
|
|
Json File |
|
The base name of the log file. “.jsonl” will be added by Mitto. |
||
type |
string |
|
|
Max Disk |
|
The max threshold of disk space used before the job fails. |
||
type |
integer |
|
exclusiveMinimum |
0 |
|
|
Max Memory |
|
The max threshold of memory used before the job fails. |
||
type |
integer |
|
exclusiveMinimum |
0 |
|
|
Write Json |
|
When true, Mitto will write to a jsonl log file on every job run. json_file (above) must also be set. |
||
type |
boolean |
|
default |
False |