Skip to main content

trigger_run

Function trigger_run 

Source
pub async fn trigger_run(
    __arg0: State<ApiState>,
    __arg1: Path<String>,
    __arg2: Extension<User>,
    key: RequestKey,
    body: Bytes,
) -> Result<(StatusCode, Json<CommandView>), ApiError>
Expand description

Start a manual run (schedr runs trigger). Applied by the master; poll the command for the decision and the run’s ID.