* How to use the command "at" during logout???
@ 1994-01-12 13:25 CHU WAI LEUNG
1994-01-17 19:48 ` Mr S J Liddicott
0 siblings, 1 reply; 2+ messages in thread
From: CHU WAI LEUNG @ 1994-01-12 13:25 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to use the command "at" during logout???
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
0 siblings, 0 replies; 2+ messages in thread
From: Mr S J Liddicott @ 1994-01-17 19:48 UTC (permalink / raw)
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--*
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-01-17 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox