Skip to content

Instantly share code, notes, and snippets.

@rbraband
Created February 10, 2016 13:57
Show Gist options
  • Save rbraband/7480e953468a365f3363 to your computer and use it in GitHub Desktop.
Save rbraband/7480e953468a365f3363 to your computer and use it in GitHub Desktop.
#!/bin/bash
rundir=$(dirname "$(readlink -e "$0")")
pidfile=$rundir/test.pid
(nohup php -q -f test.php > /dev/null) & echo $! > $pidfile &
@rbraband
Copy link
Author

Start with ./run_long_pull.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment