A way to use redis to execute a block of ruby code for a given key only once in a period of time