diff options
| author | Michael Peter Christen <mc@yacy.net> | 2012-10-17 00:44:16 +0200 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2012-10-17 00:44:16 +0200 |
| commit | 68c7ed5ce9a81eeaf35f115a443b2372aa4d13af (patch) | |
| tree | 7aab0d9b2eb1d08bcb7947da77d8b772b3576498 | |
| parent | ed803708ab45bb65132325bd0dbb53b87a4d794e (diff) | |
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
| -rwxr-xr-x | bin/clearapi.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
