ruby - Persistent Virtual Machine Process -
i'm using google cloud platform , have virtual machine. i'm messing around webscrapers.
i'm trying simple scrape of reddit using ruby script. part works pretty well. continues down , down (to end of reddit!) scrape articles, though this, takes time.
right now, in order scrape (i'm running ruby scrape.rb > reddit.txt) have keep google virtual machine ssh browser window open on computer or process exit (which makes enough sense). however, i'd have process persist if close window.
is there way somehow have process continue run? can periodically log in , check reddit.txt continue grow i'm not ssh'ed in.
thanks!
the command nohup looking for!
Comments
Post a Comment