Add cron job to restart SearXNG every 12 hours

This commit is contained in:
Sam A. 2023-04-30 17:03:46 +02:00
parent f975f120a1
commit 314f9360a7
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

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