Loading

Impact of daylight saving on scheduled jobs

Дата публикации: Oct 13, 2022
Описание

In‌ November, ‌daylight saving time ends. In general, clocks will be set back from 1:59 a.m. to 1 a.m. In this case the jobs, which are scheduled at 1AM will run twice on this day. What is the impact to scheduled jobs in Salesforce platform.

Решение

If an automation runs hourly, it will not change in accordance to Daylight Saving Time. Only automations running daily or higher will adjust to daylight saving time.

The scheduled date time is in GMT, so the job is executed once.

The user is in GMT+5 (considering daylight saving), 1 am GMT+5 is 8 PM GMT (previous day), so at 8 PM GMT the job is executed. When the daylight saving stop applying at 2 AM GMT+5 (9 PM GMT) the time for the user is displayed as 1 am GMT+4 (still 9 PM GMT). We don't go back in time. We just change the offset with GMT.

The same goes for the offset of the daylight saving. Just apply the corresponding time offset in the time displayed to the user.

Номер статьи базы знаний

000385857

 
Загрузка
Salesforce Help | Article