Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

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

Michael Peter Christen68c7ed5ce9a8
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