diff options
author | Luke Smith <luke@lukesmith.xyz> | 2023-02-14 13:40:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 13:40:35 +0000 |
commit | 17bb517c391282aa7a384cd713e47ce004680b59 (patch) | |
tree | 0891cd5c7d61c2e0c07a869ec97b4d3386ccd46f | |
parent | 663327c732328c1c8b50b84720f3449765cf81bc (diff) | |
parent | 6abab8f906b623e4a9fd7ba33fe44630a15d2c51 (diff) |
Merge pull request #908 from Shane-XB-Qian/pr_remove_cron_q
fix: mailsync looks no '-q' parameter or made it fail
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" ;} |