[Nix-dev] Systemd User Timers: timerConfig section?

Sergiu Ivanov sivanov at colimite.fr
Fri Feb 19 12:11:14 CET 2016


Hello,

I am trying to set up a (custom) systemd timer running a task every
5 minutes.  From what I can see, relying on system.user.services.myTimer
might be the way to go, but I can only see the option startAt available,
which starts my unit at a given date/time and therefore does not really
fit my needs.

Is there a way to define other timer attributes?

(I looked for timerConfig, which would be similar to serviceConfig or
unitConfig, but it doesn't seem to exist.)

What is the recommended way to go for such periodic tasks under NixOS?
Do you guys all prefer cron?

-- 
Sergiu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160219/e2ed6efb/attachment.bin 


More information about the nix-dev mailing list