diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-04-19 18:50:38 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-19 18:50:38 -0400 |
commit | cc6b3b0e6f9324fafafe09f7a8461d2e1d5b45ce (patch) | |
tree | f3beb5e74755830039825e7a03accd7dddb10d3b /mw | |
parent | 624be0878c3de900f745f0863ac569bed8813ab1 (diff) |
proper mailsync command now run
Diffstat (limited to 'mw')
-rwxr-xr-x | mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |