You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this issue is a year old, but maybe someone has the same problem. To change the timezone of the container, you have also to install tzdata inside the container.
So your custom Dockerfile would be something like this:
FROM willfarrell/crontab
RUN apk add --no-cache tzdata
Then you can set the timezone via the TZ environment variable.
@willfarrell maybe it would be useful to install tzdata by default as timezone issues could be common when it comes to specific cron times
I've tried using an environment variable, which sees to change the timezone, but the time is still off by two hours in my container.
environment:
- TZ=CET
The text was updated successfully, but these errors were encountered: