From 68c7ed5ce9a81eeaf35f115a443b2372aa4d13af Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Wed, 17 Oct 2012 00:44:16 +0200 Subject: [PATCH] added a shell script which can be used to delete the api action steering table. This may be necessary if the api is called by remote command and the recordings are not used. Then they can be deleted frequently by calling this clear command using a cron job --- bin/clearapi.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/clearapi.sh diff --git a/bin/clearapi.sh b/bin/clearapi.sh new file mode 100755 index 000000000..3b161a04d --- /dev/null +++ b/bin/clearapi.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd "`dirname $0`" +./apicall.sh "/Tables_p.html?table=api&deletetable=all" > /dev/null \ No newline at end of file