Skip to content

Instantly share code, notes, and snippets.

@lmangani
Created September 13, 2016 14:45
Show Gist options
  • Save lmangani/9280124a28fcaf0ce67a3de786ea961f to your computer and use it in GitHub Desktop.
Save lmangani/9280124a28fcaf0ce67a3de786ea961f to your computer and use it in GitHub Desktop.
random hepgen target
#!/bin/bash
files=(./config/*)
while true; do
nodejs hepgen.js -c "${files[RANDOM % ${#files[@]}]}"
sleep 2
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment