diff options
| author | Daniel <[email protected]> | 2024-07-20 13:27:49 -0400 |
|---|---|---|
| committer | Daniel <[email protected]> | 2024-07-20 13:27:49 -0400 |
| commit | 48312114028b1f1f61694cbc51d189372ad94229 (patch) | |
| tree | 6921c11809ec44bb25272c1d40c2ed485fc89706 /bin/.local | |
| parent | eb630970b5631c9bd161d952d5ced2e076494041 (diff) | |
check mail script
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 |
