[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monitoring-like] would like to be warned when I have mail (fetchmai

From: Gerhard Siegesmund
Subject: Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c)
Date: Wed, 28 Sep 2005 23:26:33 +0200
User-agent: Mutt/1.5.10i

Hello Michael

> Hmm, the process that writes to screen should terminate with an error
> if screen is no longer running. It's basically the same as if you
> run "script | less" and quit the pager.
> Du you check the exit status of your commands?

Mhm. There is not much to check. The script basically looks like this:


while true; do
  call_command_to_get something (e.g. fetchmail -c)
  echo something
  sleep some time

So I have an endless loop which regulary gets the new status. In
screenrc I put the following line

backtick 1 0 0

and put the backtick into the statusline.

Now when I start screen my script is started. Everything works great.
But after ending screen the script still lives on. Where did I miss

  --== Jerri ==--
Homepage:   ICQ: 54160208
Public PGP Key:

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]