commit 17bb517c391282aa7a384cd713e47ce004680b59
parent 663327c732328c1c8b50b84720f3449765cf81bc
Author: Luke Smith <luke@lukesmith.xyz>
Date: Tue, 14 Feb 2023 13:40:35 +0000
Merge pull request #908 from Shane-XB-Qian/pr_remove_cron_q
fix: mailsync looks no '-q' parameter or made it fail
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mw b/bin/mw
@@ -217,7 +217,7 @@ togglecron() { cron="$(mktemp)"
sed -ibu /mailsync/d "$cron"; rm -f "$cron"bu
else
echo "Adding automatic mailsync every ${cronmin:-10} minutes..."
- echo "*/${cronmin:-10} * * * * $prefix/bin/mailsync -q" >> "$cron"
+ echo "*/${cronmin:-10} * * * * $prefix/bin/mailsync" >> "$cron"
fi &&
crontab "$cron"; rm -f "$cron" ;}