Skip to content

Timezone for Scheduled Tasks #2935

@afunworm

Description

@afunworm

To Reproduce

I have a compose container whose timezone is America/Los_Angeles.

The server where Dokploy is hosted is also in the America/Los_Angeles timezone.

I have a scheduled task that is supposed to run 0 9 * * * (9:00 AM daily)

Current vs. Expected behavior

Expected behaviors: Task would be run daily at 09:00 AM.

Current behavior: Task is run at 16:00 (UTC time) daily

Is this intentionally? Should Dokploy respect the server timezone, or do I need to convert the timezone to UTC for every tasks?

Provide environment information

Ubuntu 24.04.

Dokploy 0.25.6.

Which area(s) are affected? (Select all that apply)

Docker Compose, Docker

Are you deploying the applications where Dokploy is installed or on a remote server?

Remote server

Additional context

No response

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions