diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-02-09 08:57:52 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-02-09 08:57:52 -0500 |
commit | 4cb726546f679bdbab95a7e81937fe6d278578c0 (patch) | |
tree | a9dfd9c46424c01b01bba3cfbf8653c4855c20cb /bin/mw | |
parent | 39a8fb3f46b910e6822fc2e46571706eaf38722b (diff) |
cron fixes and simplifications
Diffstat (limited to 'bin/mw')
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -290,7 +290,7 @@ choosecron() { ! pgrep cron >/dev/null && echo "No cron manager running. Install read -r minnum printf "\033[0m" done - (crontab -l; echo "*/$minnum * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus; export DISPLAY=:0; . \$HOME/.profile; $(type mailsync | cut -d' ' -f3)") | crontab - && + (crontab -l; echo "*/$minnum * * * * $(type mailsync | cut -d' ' -f3)") | crontab - && echo "Cronjob added. Mail will sync every $minnum minutes. Be sure you have your cron manager running." fi ;} |