Fix cron
This commit is contained in:
parent
6cfe9ec7e9
commit
4927080443
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
enable = true;
|
||||
systemCronJobs = [
|
||||
"0 2 * * * root nix-collect-garbage --delete-older-than 10d >> /root/nix_gc_log 2>&1"
|
||||
"30 2 * * * root docker run --rm -it -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 10d >> /root/drone_nix_gc_log 2>&1"
|
||||
"30 2 * * * root docker run --rm -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 10d >> /root/drone_nix_gc_log 2>&1"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue