Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /usr/bin/ruby
- require 'drb'
- RBOT_USER = 'rmuser'
- RBOT_PASSWORD = 'guesswhat'
- RBOT_URI = 'druby://localhost:7268'
- rbot = DRbObject.new_with_uri(RBOT_URI)
- id = rbot.delegate(nil, "remote login #{RBOT_USER} #{RBOT_PASSWORD}")[:return]
- rbot.delegate(id, "dispatch rss rewatch rbot-trac 10")
Add Comment
Please, Sign In to add comment