config/schedule.rb in sum-0.1.1 vs config/schedule.rb in sum-0.1.2
- old
+ new
@@ -8,10 +8,9 @@
require 'secret_key'
key = SecretKey.new(File.dirname(__FILE__)).read
every 1.minute do
- puts @environment
case @environment
when 'development'
command "curl http://localhost:#{@port}/cron"
else
command "curl https://sumapp.com/#{key}"
\ No newline at end of file