Skip to content

[Bug]: Wrong calculation of runtime of patching policy #699

@flotux2

Description

@flotux2

What is the installation method of your PatchMon server?

Docker

What is the version of your PatchMon server?

2.0.1

Description

I started with my tests of the automatic patching of some less important servers.
Therefore I defined a patching policy with the following settings:

Image

I expected that the patching should be executed at 01:00 AM CET (TZ Europe/Berlin). But instead in run at 03:00 AM.
The container has the correct timezone that I defined in the .env before deploying the container.

Steps to reproduce

Define a patching policy to install patches at a specific time with a chose timezone.
Check afterwards when the patches were installed

Expected behavior

The patches should be installed at the defined time of the patching policy respecting the timezone of the container and the chosen timezone.
The defined should behave like "local time".

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Released into Main

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions