How to change the timezone on your executors

andrea.loweandrea.lowe Member, Moderator, Domino Posts: 19 mod

The timezone in your run logs may not match your local timezone. For example, inside of your RStudio notebook, you may notice that it's running on Coordinated Universal Time (UTC) whereas your runs dashboard shows time in Central Time Zone (CT):


Inside of your Rstudio notebook and Runs dashboard:


In order to synchronize this, you will need to add the following lines to the Dockerfile instructions for your environment:

#change time zone
env TZ=America/Chicago 
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

This particular example sets the timezone to Central Standard Time on the executor, which will be reflected in your RStudio workspace. Here’s the full list of locales.

Sign In or Register to comment.