I want to put a job on amazon ec2 which is something like delayed job for rails server. The job has to run even when my local machine get disconnected from ec2. Is there any way I can do that. I try screen but the job gets destroyed after sometime when I disconnect from amazon ec2. Any guesses.
Screen should work and if it doesnt there program exit'ed by itself check its logs
to use screen do
To re attach
when you re attach there should be some error message on the screen if the program exited unexpectedly