Redis WATCH command marks the given keys to be watched for conditional execution of a transaction.
Simple string reply − always OK.
Following is the basic syntax of Redis WATCH command.
redis 127.0.0.1:6379> WATCH key [key ...]