lib/khronos/server/runner.rb in khronos-0.0.3.pre2 vs lib/khronos/server/runner.rb in khronos-0.0.3.pre3

- old
+ new

@@ -37,10 +37,10 @@ def calculate_recurrency!(schedule) url = "http://#{Config.instance.scheduler['host']}" url += ":#{Config.instance.scheduler['port']}" if Config.instance.scheduler['port'] url += "/task" - RestClient.patch(url, :id => schedule['id']) + RestClient.put(url, :id => schedule['id'], :patch => true) end end end