lib/good_job/cli.rb in good_job-0.2.0 vs lib/good_job/cli.rb in good_job-0.2.1
- old
+ new
@@ -6,10 +6,11 @@
desc :start, "Start jobs"
def start
require RAILS_ENVIRONMENT_RB
- scheduler = GoodJob::Scheduler.new
+ GoodJob::Scheduler.new
+
Kernel.loop do
sleep 1
end
end