Skip to content

Commit

Permalink
Version bump, add example to README
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinAiken committed Oct 7, 2015
1 parent b48dd1f commit 0d6993a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,24 @@ wrapped_schedule = ActiveScheduler::ResqueWrapper.wrap yaml_schedule
Resque.schedule = wrapped_schedule
```


## Example Format

```yaml
simple_job:
every: "30s"
queue: "simple"
class: "SimpleJob"
args:
-
description: "It's a simple job."

ThisIsTheClass:
cron: "* * * *"
queue: 'cronny'
description: "Will call the ThisIsTheClass class"
```
## Credits
- Written by [@JustinAiken](https://www.github.com/JustinAiken)
Expand Down
2 changes: 1 addition & 1 deletion lib/active_scheduler/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ActiveScheduler
VERSION = "0.0.2"
VERSION = "0.0.3"
end

0 comments on commit 0d6993a

Please sign in to comment.