From eabaef6cc1a4459fe83a32cb58cc8299d38cb478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8E=B7=F0=9F=90=A2=20S=2E=20P=2E=20O=2E=20Clayton?= Date: Tue, 27 Jun 2023 10:23:46 -0400 Subject: [PATCH] Add cron for updating freshrss --- freshrss.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/freshrss.yaml b/freshrss.yaml index 5ac9349..4bda484 100644 --- a/freshrss.yaml +++ b/freshrss.yaml @@ -40,3 +40,10 @@ source: /home/server/freshrss_data type: bind state: "{{ container_state }}" + + - name: Ensure cron exists to automatically update feeds + ansible.builtin.cron: + name: "check dirs" + minute: "10" + job: |- + www-data php -f /usr/share/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1