diff options
author | Marc Coquand <marc@mccd.space> | 2024-01-21 16:40:53 -0600 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-01-21 16:40:53 -0600 |
commit | 043eb28a22affc1421dda3d8b6ca41183ad0ba0c (patch) | |
tree | a68eae8474c00260a7446b105e36758bbf76f64a | |
parent | fd846152d19e9303864751eeb4ee9d82320b8858 (diff) | |
download | nixos-043eb28a22affc1421dda3d8b6ca41183ad0ba0c.tar.gz nixos-043eb28a22affc1421dda3d8b6ca41183ad0ba0c.tar.bz2 nixos-043eb28a22affc1421dda3d8b6ca41183ad0ba0c.zip |
Add cron to freshrss
-rw-r--r-- | configuration.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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" ]; |