EasyEngine / EasyEngine/cron-command
Ability to set the timezone cron/ofelia will run in
- 主要言語
- PHP
- スター
- 4
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず docker-compose-custom.yml と ee-cron-scheduler サービスの設定を調査し、cron/ofelia コンテナがどのように定義されているかを確認します。そのタイムゾーン関連の設定を PHP サービスの例と比較し、スケジュールされたジョブが UTC ではなく、設定された Australia/Melbourne タイムゾーンを使用していることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker
- 領域
- devops, infrastructure
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100