On Thu, Apr 18, 2002 at 08:33:20PM -0600, Troy Telford wrote: > Is there a way in Linux (or UNIX and its cousins in general) to run a > process (like a long, gnarled process that can take several hours/days), > and detatch it from a shell such that it runs in the background (with > stdin/out going to a file)? > > And to be somewhat more specific - how do you do it so you can > re-attatch to the process later?
screen will do what you like - type screen, run you command, ^A^R to detatch, screen -r later on to reconect. Since you are running output to files, you can just tail -f on the files from another console to monitor ... A cron job to launch your job is another option, but screen is pretty slick. aloha (and HTH), dave
pgp0iyFIByCpy.pgp
Description: PGP signature