change to countdown function instead

This commit is contained in:
Daniel Hansson 2021-09-19 22:52:39 +02:00 committed by GitHub
parent a6e2db6b16
commit dd9557f94b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
lib.sh
View File

@ -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
}