Skip to content

Instantly share code, notes, and snippets.

@ndelitski
Created November 18, 2015 14:19
Show Gist options
  • Select an option

  • Save ndelitski/fd47062c0ba0ac068f55 to your computer and use it in GitHub Desktop.

Select an option

Save ndelitski/fd47062c0ba0ac068f55 to your computer and use it in GitHub Desktop.
#!/bin/bash
c=0;
while true;
let c=c+1;
redis-cli -h redis set "/conf/hello/count" "$c";
sleep 10;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment