Permalink
Browse files

Merge pull request #3 from benolee/master

easy fix of bash syntax for starting workers
  • Loading branch information...
2 parents 33e616b + 21917da commit b90c694447d5cb97746beb856363adbb9db6c545 @han committed Nov 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -64,8 +64,8 @@ Filter to a list of jobs you wish to run with an argument:
In a production environment you may run one or more high-priority workers (limited to short/urgent jobs) and any number of regular workers (working all jobs). For example, two workers working just the email.send job, and four running all jobs:
- $ for i in 1 2; do stalk jobs.rb email.send > log/urgent-worker.log 2>&1; end
- $ for i in 1 2 3 4; do stalk jobs.rb > log/worker.log 2>&1; end
+ $ for i in 1 2; do stalk jobs.rb email.send > log/urgent-worker.log 2>&1; done
+ $ for i in 1 2 3 4; do stalk jobs.rb > log/worker.log 2>&1; done
Error Handling
-------------

0 comments on commit b90c694

Please sign in to comment.