Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Idle function?
- X-seq: zsh-users 2253
- From: Sweth Chandramouli <sweth@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Idle function?
- Date: Sun, 28 Mar 1999 23:23:32 -0500
- In-reply-to: <19990329133756.A505@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19990329133756.A505@xxxxxxxxxxxxxx>
On Mon, Mar 29, 1999 at 01:37:56PM +1000, Bek Oberin wrote:
> Is it possible for a console to auto-execute a command when it has
> been idle for x number of minutes? I don't want it to log off, just
> reread some config files.
i could swear you asked this sometime last year, too... i think the
eventual answer was something like "have your preexec reset an IDLETIME
variable, and then start a background process that checked the value of
IDLETIME every so often and did something if it hadn't been reset in the
relevant time period".
the details should be in the archives.
-- sweth.
--
Sweth Chandramouli
IS Coordinator, The George Washington University
<sweth@xxxxxxx> / (202) 994 - 8521 (V) / (202) 994 - 0458 (F)
<a href="http://astaroth.nit.gwu.edu/~sweth/disc.html">*</a>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author