summaryrefslogtreecommitdiff
path: root/mailsync.sh
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-03 15:32:40 +0200
committerxengineering <me@xengineering.eu>2022-08-03 15:32:40 +0200
commit6bafb248234a4bd30fbedd52ad243d965627dc83 (patch)
tree021fa48a8dea76b6aa94f8407ad991288cd3c6ba /mailsync.sh
parentec1f1588169e96599e0e3d0a7f58eef0f57f1c6e (diff)
downloadscripts-6bafb248234a4bd30fbedd52ad243d965627dc83.tar
scripts-6bafb248234a4bd30fbedd52ad243d965627dc83.tar.zst
scripts-6bafb248234a4bd30fbedd52ad243d965627dc83.zip
Add basic mailsync.sh
Diffstat (limited to 'mailsync.sh')
-rwxr-xr-xmailsync.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/mailsync.sh b/mailsync.sh
new file mode 100755
index 0000000..f3a20b4
--- /dev/null
+++ b/mailsync.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+
+DELAY="30"
+
+
+while :
+do
+ offlineimap
+ notmuch new
+ sleep "${DELAY}"
+done