From 4c8e46104cd8c0456dbc9a708983b631d961e6c1 Mon Sep 17 00:00:00 2001 From: Michael Huebner <michael.huebner@ptspaper.de> Date: Mon, 31 Mar 2025 15:16:45 +0200 Subject: [PATCH] Add cronjob --- configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configuration.nix b/configuration.nix index 1c63c37..5974c8e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -81,5 +81,12 @@ in }; }; }; + + cron = { + enable = true; + systemCronJobs = [ + "* * * * * root ls -l / > /tmp/cronout 2>&1" + ]; + } }; } \ No newline at end of file