On Sat Dec 15, 2001 at 10:07:37AM +0100, Wolfgang Bornath wrote:

> > > One possible solution may be running the script by a cron job every 5
> > > minutes during 'mail writing hours'.
> > 
> > bah... you don't want to do that.  Here... this is the easy way to do
> > it.  In your mutt config file use:
> > 
> > set signature='~/bin/uptime.pl ~/.signature|'
> > 
> > Then use the below uptime.pl script I wrote and throw it wherever you
> > like (I assume ~/bin):
> > 
> [.....]
> 
> Oh, how I wish I could 'perl'. Since years I've been trying to spend the
> holidays getting started with perl but always such things like
> girlfriend, family, even neighbourhood gangs and some barbaric rites
> (involving heavy drinking and more heavy eating) come in my way.
> 
> Thanks Vincent!

You're welcome.  And trust me, I don't really 'perl' all that
well... writing this thing (albeit a while ago when I did more fooling
around in perl) probably took me 3x as long as any one else relatively
well-versed in perl.

The end result is that it works well and I know a few dozen people use
it as I've passed it out to quite a few folks over the last few
months.  =)

-- 
MandrakeSoft Security, OpenPGP key available on www.keyserver.net
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD

Current Linux kernel 2.4.8-34.1mdk uptime: 27 days 8 hours 3 minutes.

Attachment: msg46269/pgp00000.pgp
Description: PGP signature

Reply via email to