Re: [wmii] Need help with mailnotifier, I am confused

From: Alex Kilgore <adkilgor_AT_spartan.uncg.edu>
Date: Mon, 25 Feb 2008 14:04:44 -0500

How are you calling the script
I did this in my .xinitrc before wmii
while true; do perl /home/alex/.wmii-3.5/mail.pl; sleep 60;done &
which should run the script every minute, you dont need to call the script
from wmiirc at all

On Mon, Feb 25, 2008 at 1:59 PM, Alex Kilgore <adkilgor_AT_spartan.uncg.edu>
wrote:

> Im gonna have to think that one through, offhand I am not sure what causes
> this
>
> but I realized theres one problem with doing a ls -al here, it shows .
> and .. and also it shows a total, so you might want to use
> $mail = `ls -Al | wc -l`;
> $mail--;
> and you could incorporate the formatting when you actually write to the
> file
> so it would be like
> print STAT "$mail"." messages";
>
>
>
>
>
>
> > When I run the script this directory shows in my home:
> >
> > /etpipe_decode=$my_pipe_decode;unsetmy_pipe_decode
> >
> > and it contains the 3 dirs in my INBOX. new, cur, tmp
> >
> > ???? Not shure though what causes this :-/
> >
> >
> >
>
Received on Mon Feb 25 2008 - 20:04:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:36:28 UTC