Bläddra i källkod
make crontab quite (#416)
Let's make crontab a little quiet here, unless for those who set up mail for crontab error handling will be disturbed every few minutes.
tags/v3.1
Petrus
4 år sedan
committed by
GitHub
förälder
incheckning
c25bac2cf9
Ingen känd nyckel hittad för denna signaturen i databasen
GPG-nyckel ID: 4AEE18F83AFDEB23
1 ändrade filer med
1 tillägg och
1 borttagningar
-
bin/mw
|
|
@@ -303,7 +303,7 @@ choosecron() { ! pgrep cron >/dev/null && echo "No cron manager running. Install |
|
|
|
read -r minnum |
|
|
|
printf "\033[0m" |
|
|
|
done |
|
|
|
(crontab -l; echo "*/$minnum * * * * $(type mailsync | cut -d' ' -f3)") | crontab - && |
|
|
|
(crontab -l; echo "*/$minnum * * * * $(type mailsync | cut -d' ' -f3)") >/dev/null | crontab - && |
|
|
|
echo "Cronjob added. Mail will sync every $minnum minutes. Be sure you have your cron manager running." |
|
|
|
fi ;} |
|
|
|
|
|
|
|