Restart SearXNG every 6 hours

This commit is contained in:
Sam A. 2023-05-02 19:54:22 +02:00
parent 4edccbd02a
commit d0f5a6dea9
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -72,11 +72,11 @@
tor: tor:
external: true external: true
- name: Add cron job to restart SearXNG every 12 hours - name: Add cron job to restart SearXNG every 6 hours
ansible.builtin.cron: ansible.builtin.cron:
name: Restart SearXNG Docker container name: Restart SearXNG Docker container
minute: '0' minute: '0'
hour: '*/12' hour: '*/6'
user: root user: root
job: docker restart searxng_app_1 job: docker restart searxng_app_1
cron_file: ansible_restart_searxng cron_file: ansible_restart_searxng