Scheduler and time zone

(3 posts) (2 voices)
  1. ziuras, Member

    Hi,
    After some updates my shceduler is not runing on my times. Can someone explain why?

    my linux tzdata:
    Current default time zone: 'Europe/Vilnius'
    Local time is now: Wed Apr 16 10:26:07 EEST 2025.
    Universal Time is now: Wed Apr 16 07:26:07 UTC 2025.

    my scheduled report:
    59 06 16 * * XXX https://report.xxx.local/report.php?r=...

    Report statistics:
    Scheduler 2025-04-16 10:01:01 00:07:44 sp_DBR_Mail_XXX
    Scheduler 2025-03-16 09:01:01 00:12:11 sp_DBR_Mail_XXX
    Scheduler 2025-02-16 09:01:01 00:07:16 sp_DBR_Mail_XXX
    Scheduler 2025-01-16 09:01:01 00:07:37 sp_DBR_Mail_XXX
    Scheduler 2024-12-16 09:01:01 00:07:01 sp_DBR_Mail_XXX
    Scheduler 2024-11-16 09:01:01 00:06:38 sp_DBR_Mail_XXX
    Scheduler 2024-10-16 10:01:01 00:10:16 sp_DBR_Mail_XXX
    Scheduler 2024-09-16 07:01:01 00:10:43 sp_DBR_Mail_XXX
    Scheduler 2024-08-16 07:01:01 00:10:00 sp_DBR_Mail_XXX
    Scheduler 2024-07-16 07:01:01 00:09:55 sp_DBR_Mail_XXX
    Scheduler 2024-06-16 07:01:01 00:08:58 sp_DBR_Mail_XXX
    Scheduler 2024-05-16 07:01:01 00:09:57 sp_DBR_Mail_XXX
    Scheduler 2024-04-16 07:01:01 00:09:41 sp_DBR_Mail_XXX
    Scheduler 2024-03-16 07:01:01 00:08:55 sp_DBR_Mail_XXX

    between 2024-10 and 2025-03 -> winter time

  2. myDBR Team, Key Master

    Looks like where is different timezones begin used. The different times would indicate UTC, timezone without DST and timeszone with DST being used.

    Have you set the timezone in your php.ini?

    date.timezone = 'Europe/Vilnius'
    --
    myDBR Team

  3. ziuras, Member

    Yes, you are right, I had not set the timezone. Now I set date.timezone = Europe/Vilnius and on the 16th of next month I will see how it will be. I probably updated the system before 2024-10-16.
    :)
    Thanks


Reply

You must log in to post.