Add cron job to restart SearXNG every 12 hours
This commit is contained in:
parent
f975f120a1
commit
314f9360a7
|
@ -71,3 +71,13 @@
|
||||||
external: true
|
external: true
|
||||||
tor:
|
tor:
|
||||||
external: true
|
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
|
||||||
|
|
Reference in a new issue