What's the command I use to see how many seconds are remaining?
Asked
Active
Viewed 3.0k times
1 Answers
80
TTL key
See the documentation of the TTL command.
There is also a PTTL
command since Redis 2.6 that returns the amount of time in milliseconds instead of seconds.

dee-see
- 23,668
- 5
- 58
- 91