Guest User

Untitled

a guest
May 27th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. require 'rubygems'
  2. require 'daemons'
  3.  
  4. options = {
  5. :app_name => "googleprofilescraper",
  6. :dir_mode => :script,
  7. :dir => "pids",
  8. :mode => :load,
  9. :multiple => true,
  10. :monitor => true
  11. }
  12.  
  13. Daemons.run(File.join(File.dirname(__FILE__),'scraper.rb'),options)
Add Comment
Please, Sign In to add comment