Created
February 10, 2016 13:57
-
-
Save rbraband/7480e953468a365f3363 to your computer and use it in GitHub Desktop.
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 | |
rundir=$(dirname "$(readlink -e "$0")") | |
pidfile=$rundir/test.pid | |
(nohup php -q -f test.php > /dev/null) & echo $! > $pidfile & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Start with ./run_long_pull.sh