commit cc6b3b0e6f9324fafafe09f7a8461d2e1d5b45ce parent 624be0878c3de900f745f0863ac569bed8813ab1 Author: Luke Smith <luke@lukesmith.xyz> Date: Fri, 19 Apr 2019 18:50:38 -0400 proper mailsync command now run Diffstat:
M | mw | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 }