Skip to content

Commit

Permalink
add select_by_regex info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
David Weiser committed Mar 11, 2014
1 parent feeac95 commit 2bb6b9c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ e.g. Show stats only of jobs entered with some arguments:
=> {'2009/03/10' => 3, ...}
```

A convenience helper for searching for failed jobs which satisfy a
regular expression:

```ruby
> cleaner.select_by_regex(/Jason/) # => all failed jobs that have
> "Jason" in them
```

**Retry(Requeue) Jobs**

You can retry all failed jobs with this method.
Expand Down

0 comments on commit 2bb6b9c

Please sign in to comment.