Ability to set the timezone cron/ofelia will run in
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker
- 领域
- devops, infrastructure
调研方向
首先检查 docker-compose-custom.yml 和 ee-cron-scheduler 服务配置,了解 cron/ofelia 容器是如何定义的。将其时区相关设置与 PHP 服务示例进行比较,然后确认计划任务使用配置的 Australia/Melbourne 时区,而不是 UTC。
由索引模型根据 Issue 内容生成。
描述
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.
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 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!
- 主要语言
- PHP
- 星标
- 4
- 派生
- 8
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
EasyEngine/cron-command 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
EasyEngine/cron-command#49 ·
-
难度 3/5 1-2 天 新手友好度 45/100
EasyEngine/cron-command#46 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
EasyEngine/cron-command#45 ·
-
List all crons未关闭status/needs-discussion
难度 4/5 3-5 天 新手友好度 35/100
EasyEngine/cron-command#39 ·
-
status/needs-discussion
难度 4/5 3-5 天 新手友好度 35/100
EasyEngine/cron-command#38 ·
查看 EasyEngine/cron-command 的全部 Issue
相似的 Issue
-
domain/crm-after-sales Platform(Default) priority/high
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
sync-en
难度 1/5 1-3 小时 新手友好度 86/100
维护者通常 2 天内回复
-
sync-en
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
Перевод устарел
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
component/code document/settings documents duplicate integration/wc/pages/cart integration/woocommerce mod* mod/b* mod/c* mod/d* mod/e* mod/i* product/pro status/needs-feedback
难度 2/5 1-3 小时 新手友好度 72/100
elementor/elementor#37475 · 1 条评论 ·
维护者通常 1 天内回复