Merge pull request #4523 from nextcloud/enh/noid/cronjob

nextcloud container - add exit to cronjob
This commit is contained in:
Simon L 2024-04-10 11:53:56 +02:00 committed by GitHub
commit 7fbf385d88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ wait_for_cron() {
sleep 5 sleep 5
done done
echo "Cronjob successfully exited." echo "Cronjob successfully exited."
set +x exit
} }
trap wait_for_cron SIGINT SIGTERM trap wait_for_cron SIGINT SIGTERM