From 2614fe21fb9b075bf3ff227f7df1e2c9ea9f47fa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Nov 2013 17:29:22 +0100 Subject: [PATCH] hydra-module.nix: Use startAt --- hydra-module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-module.nix b/hydra-module.nix index 146df7af..6fd1fd9f 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -246,6 +246,7 @@ in { ExecStart = "@${cfg.package}/bin/hydra-update-gc-roots hydra-update-gc-roots"; User = "hydra"; }; + startAt = "02:15"; }; services.cron.systemCronJobs = @@ -272,7 +273,6 @@ in in [ "*/5 * * * * root ${checkSpace} &> ${baseDir}/data/checkspace.log" "15 5 * * * root ${compressLogs} &> ${baseDir}/data/compress.log" - "15 2 * * * root ${pkgs.systemd}/bin/systemctl start hydra-update-gc-roots.service" ]; }; }