mutt-wizard

A wizard that autocreates an offline email setup for (neo)mutt with isync/mbsync
Log | Files | Refs | README | LICENSE

commit c9efc9f85c4ff860fddc4f33af5f5117c1600da1
parent 4a931faf3b8af53a3a4214f3e8bc6deaadac001a
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Wed, 24 Apr 2019 08:03:37 -0400

cron for debian

Diffstat:
Mbin/mw | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/mw b/bin/mw @@ -227,7 +227,7 @@ delete() { sed -i "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc" sed -i "/account $title/,/^\(\s*$\|account\)/d" "$HOME/.config/msmtp/config" } -choosecron() { ! pgrep crond >/dev/null && echo "No cron manager running. Install/enable one and then select this option again." && return 1 +choosecron() { ! pgrep -x cron\|crond >/dev/null && echo "No cron manager running. Install/enable one and then select this option again." && return 1 if crontab -l | grep mailsync >/dev/null; then echo "Active mail sync cronjob detected. Do you want to remove it?" printf "\033[36m\t"