SETEX key seconds value
Set key to hold the string value and set key to timeout after a given number of seconds.
This command is equivalent to executing the following commands:
SET mykey value EXPIRE mykey seconds
SETEX key seconds value
Set key to hold the string value and set key to timeout after a given number of seconds.
This command is equivalent to executing the following commands:
SET mykey value EXPIRE mykey seconds