Hacker News new | ask | show | jobs
by mkesper 12 days ago
There's another big feature: You're not relying on the time zone to which the server was set (like with cron) but can explicitly specify a time zone:

https://www.freedesktop.org/software/systemd/man/latest/syst...

2 comments

Of course you can do this trivially in cron as well. It is what the CRON_TZ variable is for.
This is a GNU extension so not portable.
> This is a GNU extension so not portable.

1) It's supported by cronie. I bet it's supported by many other crons.

2) "Great" news! The software in the Systemd Project only officially runs on Linux, so "it's not portable" is a really bad counterargument when "alternatives to some Systemd Project feature" is the discussion topic.

hmm, when did that get added? Last time I checked, the only timezone you could specify was UTC (which was one more than cron supported, but still insufficient.)