Finally get cron working :D
This commit is contained in:
parent
b9f0d21525
commit
c468c458e7
|
@ -28,6 +28,8 @@
|
||||||
env:
|
env:
|
||||||
TZ: "America/Kentucky/Louisville"
|
TZ: "America/Kentucky/Louisville"
|
||||||
SERVER_DNS: "freshrss.gopoop.org"
|
SERVER_DNS: "freshrss.gopoop.org"
|
||||||
|
# Every 30 minutes
|
||||||
|
CRON_MIN: "1,31"
|
||||||
networks:
|
networks:
|
||||||
- name: "{{ stack_prefix_name }}{{ docker_internal_network }}"
|
- name: "{{ stack_prefix_name }}{{ docker_internal_network }}"
|
||||||
# FreshRSS needs to talk to the outside world to fetch stuff.
|
# FreshRSS needs to talk to the outside world to fetch stuff.
|
||||||
|
@ -40,10 +42,3 @@
|
||||||
source: /home/server/freshrss_data
|
source: /home/server/freshrss_data
|
||||||
type: bind
|
type: bind
|
||||||
state: "{{ container_state }}"
|
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
|
|
||||||
|
|
Loading…
Reference in New Issue