Hello Michael
It should work if you use just echo, as this is a shell builtin.
If that 'echo something' is an external command or a pipe you have
to use 'echo something || exit 1'.
How exactly does the script look like?
Here is the script:
Hello Will
backtick 1 0 0 my_script.sh
Why not get rid of the loop in your script and make screen run it
every X seconds? That will solve your problem (although it doesn't
really suggest the cause).
I had that before. Problem is, that the call to the imap-server often
takes several seconds.
On Wed, Sep 28, 2005 at 11:26:33PM +0200, Gerhard Siegesmund wrote:
Mhm. There is not much to check. The script basically looks like this:
#!/bin/sh
while true; do
call_command_to_get something (e.g. fetchmail -c)
Hello
I did something similar, but asking an imap-Server for the number of
mails with fetchmail -c. Problem was: The query took several seconds to
succeed, in which time my screen freezed as the hardstatusline was
waiting for the info.
I read the manpage and found backtick 1 0 0 script which is