Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!fdls!dougw From: dougw@fdls.odag.or.gov (Doug Walker) Newsgroups: comp.unix.questions Subject: Re: Background processes on logout Message-ID: <350@fdls.odag.or.gov> Date: 21 Feb 91 23:28:49 GMT References: <91051.180110F66204@BARILVM.BITNET> <1991Feb20.211507.28547@ux1.cso.uiuc.edu> Organization: OR Dept. of Agric., F&D-Lab Svcs, Salem, OR Lines: 30 A-Internet: dougw@fdls.odag.or.gov B-Uucp: uunet!fdls!dougw C-Phone: (503) 378-3790 In <1991Feb20.211507.28547@ux1.cso.uiuc.edu> phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) writes: >F66204@BARILVM.BITNET (Shaul Wallach) writes: >> Please excuse this beginner's question. Is there any way for a >>user to log out of a UNIX system (say AIX/6000) while leaving >>background processes active? My experience seems to be that the >>logout command kills all background processes, something I want >>to prevent. The most reliable method we have found is to submit the program as a job through at/batch. Then, you can logout with no impact on the ultimate completion of the job. For example, let's say you have a program myprog that is designed to operate in the background. Then, the following line will submit the program to at to run whenever the system resources are available: myprog | batch One caveat is that you would have to have permission to use the at facility. We have chosen to permit all users to use at by having a file /usr/lib/cron/at.deny with zero length and have removed the file /usr/lib/cron/at.allow. Do a man on at to get the particulars for your system. Hope this helps. -- ----------------------------------------------------------------------------- Doug Walker uunet!fdls!dougw -or- dougw@fdls.odag.or.gov Oregon Department of Agriculture, Salem, Oregon (503) 378-3790