Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelolx committed May 31, 2023
1 parent 8005ed5 commit 339ee3d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,25 @@ The schedule is configured through the `:scheduler:` -> `:schedule` config entry

# Enable / disable a job. All jobs are enabled by default.
enabled: true

# Deconstructs a hash defined as the `args` to keyword arguments.
#
# `flase` by default.
#
# Example
#
# my_job:
# cron: '0 0 * * * *'
# class: MyJob
# args: { foo: 'bar', hello: 'world' }
# keyword_argument: true
#
# class MyJob < ActiveJob::Base
# def perform(foo:, hello:)
# # ...
# end
# end
keyword_argument: true
```
### Schedule metadata
Expand Down

0 comments on commit 339ee3d

Please sign in to comment.