This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
s
soroh
Post
by soroh » Mon Feb 09, 2004 6:56 am
Hey everyone, I'm the author of the 'pisg-0.5.tcl' script, and I was wonderring if there is anything else I can use aside from exec, as I had someone report to me that if the log file is to large, the bot will timeout since it's generating the stats .. and when it's generating you cannot dcc the bot, etc, since it has to finish this subprocess.
I guess what I'm saying is, a way to do this in the background?
TIA.
-soroh
GodOfSuicide
Master
Posts: 463 Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria
Post
by GodOfSuicide » Mon Feb 09, 2004 8:09 am
use |open or the bgexec module
btw: better start pisg via cron
s
soroh
Post
by soroh » Mon Feb 09, 2004 8:47 am
Code: Select all
bind time - "00 00 * * *" pisg_stats
bind time - "00 06 * * *" pisg_stats
bind time - "00 12 * * *" pisg_stats
bind time - "00 18 * * *" pisg_stats
What's wrong with doing it that way? (unless you didn't look at the code and are making pre-emptive suggestions :p)
s
soroh
Post
by soroh » Mon Feb 09, 2004 8:51 am
GodOfSuicide wrote: use |open or the bgexec module
btw: better start pisg via cron
Hm..
I got this when using |open:
[05:50] Tcl error [pisg_manstats]: expected integer but got "/home/soroh/pisg/pisg.cfg"
s
soroh
Post
by soroh » Mon Feb 09, 2004 8:56 am
Ah, I did a bit more searching and noticed you actually started a similar thread about non IO blocking exec replacement .. what did you come up with?