How can I set interval when repeating command several time in the interactive mode?
Like when I using redis-cli:
redis-cli -r 10 -i 1 PING
In interactive mode I can set amount of repeats before the command:
127.0.0.1:6379> 10 PING
But how can I set interval here?
2
Answers
You can start redis-cli with the
-i interval
option:However, in this case, all command will delay
interval
seconds, even if you don’t want to repeat the command.You may try