summaryrefslogtreecommitdiff
path: root/mw
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-19 18:50:38 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-19 18:50:38 -0400
commitcc6b3b0e6f9324fafafe09f7a8461d2e1d5b45ce (patch)
treef3beb5e74755830039825e7a03accd7dddb10d3b /mw
parent624be0878c3de900f745f0863ac569bed8813ab1 (diff)
proper mailsync command now run
Diffstat (limited to 'mw')
-rwxr-xr-xmw2
1 files changed, 1 insertions, 1 deletions
diff --git a/mw b/mw
index 0c7ffe2..c5ee748 100755
--- a/mw
+++ b/mw
@@ -259,7 +259,7 @@ choosecron() { ! pgrep crond >/dev/null && echo "No cron manager running. Instal
read -r minnum
printf "\033[0m"
done
- (crontab -l; echo "*/$minnum * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; export DISPLAY=:0; . \$HOME/.profile; $muttdir/bin/mailsync -f INBOX") | crontab - &&
+ (crontab -l; echo "*/$minnum * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; export DISPLAY=:0; . \$HOME/.profile; $muttdir/bin/mailsync") | crontab - &&
echo "Cronjob added. Mail will sync every $minnum minutes. Be sure you have your cron manager running."
fi
}