From c468c458e704f09be1e6674488d8ca81f4e31cab 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, 11 Jul 2023 13:34:14 -0400 Subject: [PATCH] Finally get cron working :D --- freshrss.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/freshrss.yaml b/freshrss.yaml index 88f5fcd..34ba629 100644 --- a/freshrss.yaml +++ b/freshrss.yaml @@ -28,6 +28,8 @@ env: TZ: "America/Kentucky/Louisville" SERVER_DNS: "freshrss.gopoop.org" + # Every 30 minutes + CRON_MIN: "1,31" networks: - name: "{{ stack_prefix_name }}{{ docker_internal_network }}" # FreshRSS needs to talk to the outside world to fetch stuff. @@ -40,10 +42,3 @@ 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