expire
Set a specific expiration time for Redis keys using seconds. Ideal for managing temporary data or automating key removal in Redis databases.
Instructions
Set an expiration time for a Redis key.
Args: name: The Redis key. expire_seconds: Time in seconds after which the key should expire.
Returns: A success message or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expire_seconds | Yes | ||
name | Yes |