class Resque::Worker

Public Instance Methods

reserve() click to toggle source
# File lib/bizside/resque.rb, line 48
def reserve
  stop_file_path = File.join('tmp', 'stop.txt')
  if File.exist?(stop_file_path)
   puts "#{Resque.redis.namespace} #{stop_file_path} が存在するため一時停止します。"
   nil
  else
    reserve_without_stop_txt
  end
end
Also aliased as: reserve_without_stop_txt
reserve_without_stop_txt()
Alias for: reserve