add command to reload of API cache

This commit is contained in:
2019-07-23 07:42:42 +02:00
parent 50e201c078
commit a442ac980d

View File

@@ -24,3 +24,6 @@ fi
rm -f ${RESPONSE}
#echo ${STATUS}
# Clear/Reload API cache
curl -H "Content-Type: application/json" -d '{"reload": "true"}' https://data-api.psi.ch/sf/channels/config > /dev/null