From 043eb28a22affc1421dda3d8b6ca41183ad0ba0c Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 21 Jan 2024 16:40:53 -0600 Subject: Add cron to freshrss --- configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configuration.nix b/configuration.nix index bb6f59a..a6f6f26 100644 --- a/configuration.nix +++ b/configuration.nix @@ -24,6 +24,13 @@ baseUrl = "https://rss.mccd.space"; }; + services.cron = { + enable = true; + systemCronJobs = [ + "10 * * * * www-data php -f ${pkgs.freshrss}/app/actualize_script.php > /tmp/FreshRSS.log 2>&1" + ]; + }; + services.postgresql = { enable = true; ensureDatabases = [ "ann" ]; -- cgit v1.2.3