Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Initd script to bootstrap the watch command when the system starts up. The watch command periodically runs a bash script.
#!/bin/bash
screen -d -m sudo watch -n5 'bash /opt/bin/pop_motion_queue.sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment