Commit 86b3708a authored by nazarf's avatar nazarf

set miner activiti to monero pool

parent 0a5d8d83
set :output, 'log/cron.log'
# every("*/5 * * * *", roles: [:app]) { rake "miners:check_miners" }
every("*/5 * * * *", roles: [:app]) { rake "miners:check_safex_active_miner" }
# every("*/5 * * * *", roles: [:app]) { rake "miners:check_safex_active_miner" }
every("*/5 * * * *", roles: [:app]) { rake "miners:check_active_list" }
every("0 2 * * *", roles: [:app]) { rake "miners:miners_status_notification" }
\ No newline at end of file
......@@ -28,7 +28,7 @@ namespace :miners do
task check_active_list: :environment do
url = 'http://149.28.218.119:4243/active_list'
url = 'http://144.202.99.58:4243/active_list'
response = HTTParty.get(url)
response_json = JSON.parse(response.body)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment