File: //usr/syno/share/esynoscheduler/esynoscheduler-table-def.json
{
"task": {
"member": {
"task_name": { "cpptype": "string" },
"description": { "cpptype": "string", "cppDefaultValue": "" },
"event": { "cpptype": "string" },
"depend_on_task": { "cpptype": "string", "cppDefaultValue": "" },
"enable": { "cpptype": "bool", "cppDefaultValue": true },
"owner": { "cpptype": "long long" },
"run_the_same_time":{ "cpptype": "bool", "cppDefaultValue": false},
"notify_enable": { "cpptype": "bool", "cppDefaultValue": false },
"notify_mail": { "cpptype": "string", "cppDefaultValue": "" },
"notify_if_error":{ "cpptype": "bool", "cppDefaultValue": false },
"operation": { "cpptype": "string" },
"operation_type": { "cpptype": "string" },
"status": { "cpptype": "Json::objectValue", "cppDefaultValue": {} },
"last_start_time": { "cpptype": "long long" },
"last_stop_time": { "cpptype": "long long" },
"last_exit_info": { "cpptype": "Json::objectValue", "cppDefaultValue": {} },
"extra": { "cpptype": "Json::objectValue", "cppDefaultValue": {} }
}
},
"task_result": {
"member": {
"result_id": { "cpptype": "long long" },
"task_name": { "cpptype": "string" },
"pid": { "cpptype": "long long" },
"event_fire_time": { "cpptype": "long long" },
"start_time": { "cpptype": "long long" },
"stop_time": { "cpptype": "long long" },
"exit_info": { "cpptype": "Json::objectValue", "cppDefaultValue": {} },
"trigger_event": { "cpptype": "string" },
"run_time_env": { "cpptype": "Json::objectValue", "cppDefaultValue": {} },
"extra": { "cpptype": "Json::objectValue", "cppDefaultValue": {} }
}
}
}