summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/myofflineimap8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/myofflineimap b/bin/myofflineimap
new file mode 100755
index 0000000..daa50c7
--- /dev/null
+++ b/bin/myofflineimap
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+accounts="$1"
+[ "fast" != "$accounts" ] || accounts=jones,bb,db,lb,lab,bu,hb,dgih,debian
+
+ionice -c 3 chrt --idle 0 /bin/sh -c "offlineimap -qo ${accounts:+-a $accounts}"
+
+ionice -c 3 chrt --idle 0 /bin/sh -c "notmuch new"