From dd9557f94b336827be92a3cd8f8d7a09232e172b Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sun, 19 Sep 2021 22:52:39 +0200 Subject: [PATCH] change to countdown function instead --- lib.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib.sh b/lib.sh index 379c8153..7dda373a 100644 --- a/lib.sh +++ b/lib.sh @@ -435,8 +435,7 @@ done check_running_cronjobs() { while [ -n "$(pgrep -f nextcloud/cron.php)" ] do - print_text_in_color "$ICyan" "Waiting for the Nextclouds cronjob to finish..." - sleep 5 + countdown "Waiting for the Nextclouds cronjob to finish..." "30" done }