Created
November 22, 2011 17:02
-
-
Save alister/1386210 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bin/php | |
<?php | |
// cli-beanstalk-worker.php | |
// for testing of the BASH script | |
exit (rand(95, 100)); | |
/* normally we would return one of | |
# 97 - planned pause/restart | |
# 98 - planned restart | |
# 99 - planned stop, exit. | |
# anything else is an unplanned restart | |
*/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment