Wednesday, 13 July 2011

redis

nice tutorial

trying node retwis

Will try init.d script here
working after using update-rc.d


Delete all redis keys
redis-cli keys  "*" | while read LINE ; do TTL=`redis-cli ttl $LINE`; if [ $TTL -eq -1 ]; then echo "Del $LINE"; RES=`redis-cli del $LINE`; fi; done;

No comments:

Post a Comment