[GH-ISSUE #538] [Bug] 工作流开始执行时间不对 #346

Closed
opened 2026-03-03 01:02:37 +03:00 by kerem · 2 comments
Owner

Originally created by @iarthit on GitHub (Mar 20, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/538

描述问题
工作流设置的是每天夜里2点执行,实际上是每天的10点执行,相差刚好8个小时,我docker部署指定了时区为上海

复现步骤
复现该问题的步骤:
工作流-流程编排-cron表达式为 0 2 * * *

期望的结果
每天夜里2点执行

截图
Image

环境

docker部署-v0.3.4

Originally created by @iarthit on GitHub (Mar 20, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/538 **描述问题** 工作流设置的是每天夜里2点执行,实际上是每天的10点执行,相差刚好8个小时,我docker部署指定了时区为上海 **复现步骤** 复现该问题的步骤: 工作流-流程编排-cron表达式为 0 2 * * * **期望的结果** 每天夜里2点执行 **截图** ![Image](https://github.com/user-attachments/assets/acd27a50-6ae5-4498-9c0d-6aac9c1a028e) **环境** docker部署-v0.3.4
kerem 2026-03-03 01:02:37 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@fudiwei commented on GitHub (Mar 20, 2025):

挂载 /etc/timezone 了吗?

<!-- gh-comment-id:2739152859 --> @fudiwei commented on GitHub (Mar 20, 2025): 挂载 /etc/timezone 了吗?
Author
Owner

@iarthit commented on GitHub (Mar 20, 2025):

environment:
        TZ: 'Asia/Shanghai'

我是这样设置,我试试挂载 /etc/timezone

<!-- gh-comment-id:2739199649 --> @iarthit commented on GitHub (Mar 20, 2025): ``` environment: TZ: 'Asia/Shanghai' ``` 我是这样设置,我试试挂载 /etc/timezone
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#346
No description provided.