I have a Ruby script that runs/query a database and enters/deletes information every 30 seconds. I run it from command line using:
ruby worker.rb
I am sshing into the server. When I close the terminal the worker stops running. Is there a way to ensure it keeps running?