hook up scheduler with jobs

This commit is contained in:
dignifiedquire
2020-03-18 00:01:59 +01:00
parent ce5b95f8e5
commit 846ef043d5
7 changed files with 604 additions and 722 deletions

View File

@@ -77,8 +77,8 @@ pub async fn imex(context: &Context, what: ImexMode, param1: Option<impl AsRef<P
param.set(Param::Arg, param1.as_ref().to_string_lossy());
}
job::kill_action(context, Action::ImexImap).await;
job::add(context, Action::ImexImap, 0, param, 0).await;
// job::kill_action(context, Action::ImexImap).await;
// job::add(context, Action::ImexImap, 0, param, 0).await;
}
/// Returns the filename of the backup found (otherwise an error)