#@threads = IssueOverdue.mail_issue
#ii = 1
#@threads.each do |t|
#  t.join
#end

#Thread.new do
#  if Time.now == Time.
#
#  end
#end