Browse Source

Merge pull request #908 from Shane-XB-Qian/pr_remove_cron_q

fix: mailsync looks no '-q' parameter or made it fail
pull/912/head
Luke Smith 1 year ago
committed by GitHub
parent
commit
17bb517c39
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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