[Nix-dev] Specifying timezone in systemd timer config startAt

zimbatm zimbatm at zimbatm.com
Wed Apr 27 19:30:19 CEST 2016


Hi,

did you try asking the systemd people directly ? I think they will best
know as it's really a functionality of their sub-system.

Best,
z

On Tue, 26 Apr 2016 at 12:55 4levels <4levels at gmail.com> wrote:

> Hi Nix-devs,
>
> is it possible to have the startAt attribute take a given timezone in
> account?
>
> Currently I'm running all servers in UTC (as one server can serve projects
> in different timezones) and I handle the timezone offsets in the
> application logic.  However, this renders my startAt lines in my timer
> configs pretty useless as eg. 5:30 AM doesn't take in account the current
> project's timezone.  I need certain timers to run at night according to the
> local timezone, not at 5:30 UTC)
>
> I can speficfy the server's timezone via time.timeZone based on it's
> physical location, but than I'm afraid I will run into various issues when
> dealing with other timezones from the same server in the application logic.
>
>
> Kind regards,
>
> Erik aka 4levels
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160427/6fc2bb3c/attachment-0001.html 


More information about the nix-dev mailing list