Pārlūkot izejas kodu
make crontab quite
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.
pull/416/head
Petrus
pirms 4 gadiem
committed by
GitHub
vecāks
revīzija
2a68927cd5
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar
1 papildinājumiem un
1 dzēšanām
-
bin/mw
|
|
@@ -291,7 +291,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 ;} |
|
|
|
|
|
|
|