-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to control time zone #96
Comments
Hey, |
the use case is that we are porting a non containerised system that uses cron to a container based system using Ofelia to do the scheduled events. In the cron based system we have the timezone set in the cron configuration in order to ensure that the times that the scheduled events happen are done in the correct time zone. The place I need the timezone to be set is in the location ofelia uses to determine what time zone it is when deciding when to do a thing. |
Scheduling is done by https://pkg.go.dev/github.com/robfig/cron. Documentation says:
So technically, setting env variable |
It should also be possible to pass the host's local time by mounting the |
After reviewing the documentation it isn't clear how one sets the time zone to be used.
The text was updated successfully, but these errors were encountered: