EasyEngine / EasyEngine/cron-command
Ability to set the timezone cron/ofelia will run in
- Vorherrschende Sprache
- PHP
- Sterne
- 4
- Forks
- 8
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I can't see any way to set the timezone that the cron/ofelia container is using.
For other containers, i.e. `php`, I can set this in `docker-compose-custom.yml`, i.e.
```yaml
version: '3.5'
services:
php:
environment:
- TZ=Australia/Melbourne
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
```
There should be some way to do this for the cron/ofelia container, since [this Ofelia ticket](https://github.com/mcuadros/ofelia/issues/96) suggests that it does respect `TZ` environment variable if set.
My server is in `Australia/Melbourne`, as are most of the containers - except for `ee-cron-scheduler` which appears to still be in `UTC+0`, which is lame as I'd like everything to be using the same timezone.
Hope there is a way!
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.