Guest User

Untitled

a guest
Apr 25th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #! /usr/bin/ruby
  2.  
  3. require 'drb'
  4.  
  5. RBOT_USER = 'rmuser'
  6. RBOT_PASSWORD = 'guesswhat'
  7. RBOT_URI = 'druby://localhost:7268'
  8.  
  9. rbot = DRbObject.new_with_uri(RBOT_URI)
  10. id = rbot.delegate(nil, "remote login #{RBOT_USER} #{RBOT_PASSWORD}")[:return]
  11. rbot.delegate(id, "dispatch rss rewatch rbot-trac 10")
Add Comment
Please, Sign In to add comment