mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
Merge pull request #4523 from nextcloud/enh/noid/cronjob
nextcloud container - add exit to cronjob
This commit is contained in:
commit
7fbf385d88
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue