File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 11resque-scheduler
22================
33
4+
45[ ![ Dependency Status] ( https://gemnasium.com/badges/github.com/resque/resque-scheduler.svg )] ( https://gemnasium.com/github.com/resque/resque-scheduler )
56[ ![ Gem Version] ( https://badge.fury.io/rb/resque-scheduler.svg )] ( https://badge.fury.io/rb/resque-scheduler )
67[ ![ Build Status] ( https://travis-ci.org/resque/resque-scheduler.svg?branch=master )] ( https://travis-ci.org/resque/resque-scheduler )
@@ -290,6 +291,19 @@ clear_leaderboards_contributors:
290291 description : " This job resets the weekly leaderboard for contributions"
291292` ` `
292293
294+ If you would like to setup a job that is executed manually you can configure like this in your YAML file.
295+
296+ ` ` ` yaml
297+ ImportOrdersManual :
298+ description : ' Import Amazon Orders Manual'
299+ custom_job_class : ' AmazonMws::ImportOrdersJob'
300+ never : " * * * * *"
301+ queue : high
302+ description : " This is a manual job for importing orders."
303+ args :
304+ days_in_arrears : 7
305+ ` ` `
306+
293307The queue value is optional, but if left unspecified resque-scheduler will
294308attempt to get the queue from the job class, which means it needs to be
295309defined. If you're getting "uninitialized constant" errors, you probably
You can’t perform that action at this time.
0 commit comments