Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 193 Bytes
require File.join(File.dirname(__FILE__), "server_tools")
$timeout = (ENV["LOOP_DELAY"] || 5).to_i
loop do
puts "Sending pending messages..."
SMS.send_pending($modem)
sleep $timeout
end