Set a timeout on the specified key.
Set a timeout on the specified key, after which time the key and corresponding value will be deleted.
redisExpireAt(key, time) redisPexpireAt(key, time)
key |
The character key on which to set the timeout. |
time |
The UNIX time of expiration in seconds or milliseconds. |
Operations that modify value(s) corresponding to a key subsequent
to the redisExpireAt
function clear the timeout, removing the expiration.
The redisExpireAt
function can't set a new timeout value once a timeout
has been set on a key.
Boolean TRUE if the timeout command was successful, FALSE otherwise.
B. W. Lewis
http://redis.io/commands
## Not run: redisConnect() redisLPush('x',runif(5)) redisExpireAt('x', 1266209144) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.