aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-07-20 13:27:49 -0400
committerDaniel <[email protected]>2024-07-20 13:27:49 -0400
commit48312114028b1f1f61694cbc51d189372ad94229 (patch)
tree6921c11809ec44bb25272c1d40c2ed485fc89706 /bin
parenteb630970b5631c9bd161d952d5ced2e076494041 (diff)
check mail script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/scripts/checkmail8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/.local/bin/scripts/checkmail b/bin/.local/bin/scripts/checkmail
new file mode 100755
index 0000000..2b7dad1
--- /dev/null
+++ b/bin/.local/bin/scripts/checkmail
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+mbsync -a
+notmuch new
+
+# logging
+LOG_FILE="$HOME/.cache/checkmail"
+echo "Last mail sync at $(date)" >> $LOG_FILE