>  I wanted the fetchmail call to complete before I did my mail counting...

Thanks for your answer Sukant! I was very busy, sorry.

Yes, I've missed your point. As you see, my point was not on the Cron usage
but on the diaphanous benefits of clear-separate tasks...

> I haven't looked at the source code, but my suspicion is that there's
> shared code between the two functions...

* I suspected in the same direction under similar circumstances. But I don't
know if I'm trivializing on your point about modules duplicity, lets call
it a *'great' secondary effect of Lua as 'extension' language. Just speculating,
maybe we will find aliases pointing to the same table of functions (I haven't
looked a line).

---------------------------------------------
May be we are rolling around an independent timer module as Tuomo sugested.
The idea of some sockets sounds great, sadly I don't write a line of C since 
'99.
I'll try to learn again seeing some Ion+Lua code (I love the mental clarity of
Tuomo and Roberto I. I hope the code will look in the same way)
--------------------------------------------- 

> In the course of writing this post, though, I just thought about
> breaking off the functions I want to bind to keystrokes into a separate
> file. . . one that can be read by the ion-statusd monitors and also read
> into a general ion key-binding script.  That might be the recommende

Sorry, but I can't understand yet why a serial os.execute() doesn't works for 
you.
(The script could hang while fetchmail is doing his job, after that you will 
read
the maildir counts... Don't pay me attention. I'm just speculating)

Maybe this answer is too dumb. But your problem is turning on certain mental
challenge to me. (I obsesive)

Well.

> TUOMO SAYS: I've been thinking of turning it into a proper daemon using unix
> sockets, started separately from Ion. 

Thanks for replying Tuomo. I'll like to hear more about your ideas on daemon
modules, can you give us a little more illustration on that ways? That could be
a very big step forward for the mighty Ion.

Bye.

-- 
ln -fs /bin/dash /bin/sh; echo "and crossed fingers..."
Mario G.H.

Reply via email to