diff options
Diffstat (limited to 'bin/.local')
| -rwxr-xr-x | bin/.local/bin/scripts/checkmail | 8 |
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 |
