Skip to content

Instantly share code, notes, and snippets.

@shehaaz
Created May 2, 2014 01:58
Show Gist options
  • Save shehaaz/e1ab2a391cb2101969cb to your computer and use it in GitHub Desktop.
Save shehaaz/e1ab2a391cb2101969cb to your computer and use it in GitHub Desktop.
#!/bin/bash
while true
do
output = $(python /root/python/movesParse.py)
curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", $output }' http://localhost:3030/widgets/steps
echo "sleeping..."
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment