Skip to content

PSETEX

Protocols: Redis RESP2

Stores value at key with a TTL in milliseconds.

Synopsis

PSETEX key milliseconds value

Response

+OK

Example

redis-cli> PSETEX k 60000 hello
OK