Created
February 25, 2018 16:11
-
-
Save spacekitcat/0a711ed63b258481a10d243f65dd7efc to your computer and use it in GitHub Desktop.
Initd script to bootstrap the watch command when the system starts up. The watch command periodically runs a bash script.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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