Issue
In Studio Pro, within the module in the App Explorer, a Scheduled Event execution can be set as server time (the time of the server where the application is hosted, such as Frankfurt time) or Coordinated Universal Time (UTC), see screenshot below.
Although a scheduled event is set to execute at server time, it appears in the application logs as running in UTC instead.
Environment
Applications hosted in Mendix Cloud
Studio Pro (all versions)
Cause
For applications running in Mendix Cloud, all servers run in UTC time. Therefore, despite selecting Server in the scheduled event Offset (see screenshot above), the event will be executed at UTC time. It is important to note that during winter, Central European Time (CET) is one hour ahead of UTC, while in summer, CET is two hours ahead of UTC.
Solution/Workaround
To ensure proper execution, it is advised to plan scheduled events accordingly, keeping in mind that all Mendix cloud servers operate in UTC time.
It is important to note that setting a scheduled event to execute at server time applies to applications hosted on-premises, as they do not rely on Mendix servers.
Internal information related
- 235835, 148150, 105694, 119239
- CLDOPS-8439
Additional information
Mendix documentation: Scheduled Events
0 Comments