[Nix-dev] cron's timezone
Mathijs Kwik
mathijs at bluescreen303.nl
Thu Apr 18 12:22:45 CEST 2013
Hi all,
I recently upgraded an old (pre-systemd) system.
After the upgrade, I noticed that cronjobs started running at the
wrong time (UTC).
My configuration.nix contains: ''
time.timeZone = "Europe/Amsterdam";
''
And I verified that /etc/systemd/system/cron.service contains: ''
[Service]
Environment=PATH=/nix/store/k0kd4brqjm1017bhyj8rkyy36n0v5kmh-coreutils-8.21/bin:/nix/store/0fabgj3075kk0llvcgxllkrilf72amns-findutils-4.4.2/bin:/nix/store/s1ifw2i2x0kcisnrs4yyx31m6gv7sysj-gnugrep-2.14/bin:/nix/store/1d1jkg0qb7ci05dc5chjkz4872zycj24-gnused-4.2.1/bin:/nix/store/8v9gwcswr6n4p4c5mdanh8qi6j2d8j3s-systemd-201/bin:/nix/store/l5xk9g3xrjh0nayzcfnsz85fnfzaccdq-cron-4.1/bin:/nix/store/k0kd4brqjm1017bhyj8rkyy36n0v5kmh-coreutils-8.21/sbin:/nix/store/0fabgj3075kk0llvcgxllkrilf72amns-findutils-4.4.2/sbin:/nix/store/s1ifw2i2x0kcisnrs4yyx31m6gv7sysj-gnugrep-2.14/sbin:/nix/store/1d1jkg0qb7ci05dc5chjkz4872zycj24-gnused-4.2.1/sbin:/nix/store/8v9gwcswr6n4p4c5mdanh8qi6j2d8j3s-systemd-201/sbin:/nix/store/l5xk9g3xrjh0nayzcfnsz85fnfzaccdq-cron-4.1/sbin
Environment=LD_LIBRARY_PATH=
Environment="TZ=Europe/Amsterdam"
''
What else should I check?
Thanks,
Mathijs
More information about the nix-dev
mailing list