File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
resque-scheduler
2
2
================
3
3
4
+
4
5
[ ![ Dependency Status] ( https://gemnasium.com/badges/github.com/resque/resque-scheduler.svg )] ( https://gemnasium.com/github.com/resque/resque-scheduler )
5
6
[ ![ Gem Version] ( https://badge.fury.io/rb/resque-scheduler.svg )] ( https://badge.fury.io/rb/resque-scheduler )
6
7
[ ![ 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:
290
291
description : " This job resets the weekly leaderboard for contributions"
291
292
` ` `
292
293
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
+
293
307
The queue value is optional, but if left unspecified resque-scheduler will
294
308
attempt to get the queue from the job class, which means it needs to be
295
309
defined. If you're getting "uninitialized constant" errors, you probably
You can’t perform that action at this time.
0 commit comments