0
@@ -57,22 +57,23 @@ which are stored as their text representation and loaded from the database fresh
0
-You can invoke rake jobs:work which will start working off jobs. You can cancel the rake task by CTRL-C.
0
+You can invoke @rake jobs:work@ which will start working off jobs. You can cancel the rake task by @CTRL-C@.
0
At Shopify we run the the tasks from a simple script/job_runner which is being invoked by runnit:
0
require File.dirname(__FILE__) + '/../config/environment'
0
trap('TERM') { puts 'Exiting...'; $exit = true }
0
trap('INT') { puts 'Exiting...'; $exit = true }
0
puts "*** Staring job worker #{Delayed::Job.worker_name}"
0
@@ -98,3 +99,4 @@ At Shopify we run the the tasks from a simple script/job_runner which is being i
0
Delayed::Job.clear_locks!
Comments
No one has commented yet.