From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,d393f0f13920795b X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-01-17 14:36:24 PST Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!pipex!warwick!not-for-mail From: phudl@csv.warwick.ac.uk (Mr S J Liddicott) Newsgroups: comp.unix.osf.misc Subject: Re: How to use the command "at" during logout??? Date: 17 Jan 1994 19:48:18 -0000 Organization: University of Warwick, Coventry, UK Message-ID: <2heq22$e3v@lily.csv.warwick.ac.uk> References: NNTP-Posting-Host: lily-fddi.csv.warwick.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sorry, mail bounced... To: h9211221@hkueee Subject: Re: How to use the command "at" during logout??? Newsgroups: comp.unix.osf.misc In-Reply-To: Organization: University of Warwick, Coventry, UK Cc: Bcc: In article you write: > > > Command "at"..... > How to use it to run a scipt file just after I logout everytime??? > Please e-mail to me to tell me... > Thanks you very much...... > Bye... > > William This works, but not with "at", it is followed by an "at" example make a program, and call it "delay" % cat > delay sleep $1 shift $* ^D % chmod +x delay Then in your .logout: % cat > .logout delay 20 myscript & ^D and so, when you logout, a background process will be started which waits 20 seconds, and then runs your program, with all the parameters... (none in this case) I find "delay" to be a semi-useful program. ----------------- The "at" cure In your .logout % cat > .logout at now + 5 minutes my-script ^D This I thjink is not as "nice" -- *----------*-------------------------------------------------------------* | Sam Jam|"Never underestimate the importance of a cheap laugh"- | | Liddicott| phudl@csv.warwick.ac.uk Plucky Duck TTA | *---For ScoobyDoo episodes mail with "hoi! list scooby" as subject line--* -- *----------*-------------------------------------------------------------* | Sam Jam|"Never underestimate the importance of a cheap laugh"- | | Liddicott| phudl@csv.warwick.ac.uk Plucky Duck TTA | *---For ScoobyDoo episodes mail with "hoi! list scooby" as subject line--*