Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
olddate=''
cmd='make r53'
while true; do newdate=`stat -f %m rotate-by-r53.py `; [[ "$olddate" == "$newdate" ]] || { olddate="$newdate"; $cmd; }; sleep 0.25; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment