Created
August 16, 2015 01:45
-
-
Save infusion/fed60bbf320328da7ac8 to your computer and use it in GitHub Desktop.
Fork a command and write the pid file on Bash
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
((/usr/local/php/bin/php -f /var/www/queue.php) & echo $! > /var/run/queue.pid &) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment