Skip to main content

file_task

Function file_task 

Source
pub(crate) fn file_task(
    store: &Store,
    job: &CronJob,
    run_id: &str,
    title: &str,
    payload: &str,
    target: (String, String),
) -> Result<(String, i64), StoreError>
Expand description

File the job’s task, as kanban.act create does: the queue row, its card (no review: the task isn’t the operator’s to accept), and its first history line, which names the job and the run. Returns its id and number.