cron: restart container once a day

This commit is contained in:
Ștefan Talpalaru 2020-10-26 18:15:16 +01:00
parent 759e60db22
commit df5a311ed6
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
cron:
name: "shared testnet restart"
minute: "0"
hour: "*/12"
hour: "12"
job: "PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'; cd {{ beacon_node_cont_vol }}; docker rm {{ beacon_node_cont_name }}-build-run; docker-compose --compatibility run --rm --name {{ beacon_node_cont_name }}-build-run beacon_node --build; docker-compose restart -t 60"
when: beacon_node_shared_testnet_cron