Browse Source

fix: mailsync looks no '-q' parameter or made it fail

// solution: remove '-q'

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
pull/908/head
shane.xb.qian 1 year ago
parent
commit
6abab8f906
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw View File

@@ -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" ;}



Loading…
Cancel
Save