|
@@ -217,7 +217,7 @@ togglecron() { cron="$(mktemp)" |
|
|
sed -ibu /mailsync/d "$cron"; rm -f "$cron"bu |
|
|
sed -ibu /mailsync/d "$cron"; rm -f "$cron"bu |
|
|
else |
|
|
else |
|
|
echo "Adding automatic mailsync every ${cronmin:-10} minutes..." |
|
|
echo "Adding automatic mailsync every ${cronmin:-10} minutes..." |
|
|
echo "*/${cronmin:-10} * * * * $prefix/bin/mailsync -q" >> "$cron" |
|
|
|
|
|
|
|
|
echo "*/${cronmin:-10} * * * * $prefix/bin/mailsync" >> "$cron" |
|
|
fi && |
|
|
fi && |
|
|
crontab "$cron"; rm -f "$cron" ;} |
|
|
crontab "$cron"; rm -f "$cron" ;} |
|
|
|
|
|
|
|
|