mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
488f0d9cb3
OnCalendar entrys can be specified multiple times in a systemd timer, to make more complex scheduling possible. Tested by manually checking the timer generated by the following: systemd = { services.huhu = { description = "meh"; wantedBy = [ "default.target" ]; serviceConfig.ExecStart = "/bin/sh -c 'printf HUHU!'"; startAt = [ "*:*:0/30" "*:0/1:15" ]; }; }; It prints HUHU to the log at seconds 0, 15 and 30 of each minute. |
||
---|---|---|
.. | ||
activation | ||
boot | ||
etc |