From: phudl@csv.warwick.ac.uk (Mr S J Liddicott)
Subject: Re: How to use the command "at" during logout???
Date: 17 Jan 1994 19:48:18 -0000 [thread overview]
Message-ID: <2heq22$e3v@lily.csv.warwick.ac.uk> (raw)
In-Reply-To: CJIqLw.Bzs@hkuxb.hku.hk
Sorry, mail bounced...
To: h9211221@hkueee
Subject: Re: How to use the command "at" during logout???
Newsgroups: comp.unix.osf.misc
In-Reply-To: <CJIqLw.Bzs@hkuxb.hku.hk>
Organization: University of Warwick, Coventry, UK
Cc:
Bcc:
In article <CJIqLw.Bzs@hkuxb.hku.hk> 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--*
prev parent reply other threads:[~1994-01-17 19:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-01-12 13:25 How to use the command "at" during logout??? CHU WAI LEUNG
1994-01-17 19:48 ` Mr S J Liddicott [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox