From e14922cc0bc0a2ff88ebc748d9ed10545b2aeb0d Mon Sep 17 00:00:00 2001 From: codedge Date: Tue, 25 Aug 2020 00:19:59 +0200 Subject: [PATCH] Updated Cronjobs (markdown) --- Cronjobs.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Cronjobs.md b/Cronjobs.md index 8d9e52b..9dc2d50 100644 --- a/Cronjobs.md +++ b/Cronjobs.md @@ -9,6 +9,18 @@ Inside the [`docker-compose.yml`](https://github.com/invoiceninja/dockerfiles/bl Make sure you also removed the hash `#` for `logo:` from the `volumes section`. +### Upgrading to Alpine-based version + +With the change to an [Alpine](https://alpinelinux.org/)-based base image for IN, the usage of bash shell does not work anymore. This is the case for running cronjobs for the IN 4. All references to a bash command need to be changed. + +|Old|New| +|---|---| +|`/bin/bash`|`/bin/sh`| +|`bash`|`sh`| + +A working version can be found inside the [`docker-compose.yml`](https://github.com/invoiceninja/dockerfiles/blob/master/docker-compose.yml). + + ## Cronjobs for Invoice Ninja 5 Cronjobs are already configured. Enjoy! 🎉 \ No newline at end of file