<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/11257" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2006-05-06T20:02:15-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/11257</id>

		<entry>
		<author><name><![CDATA[honeybee]]></name></author>
		<updated>2006-05-06T20:02:15-04:00</updated>

		<published>2006-05-06T20:02:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62709#p62709</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62709#p62709"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62709#p62709"><![CDATA[
Alchera: nice way to setup a simple shell script to do it, but what should be the crontab if i want it to check 2 times a day at 12 am and at 12 pm.<div class="codebox"><p>Code: </p><pre><code>0 12,24 * * * ~/public_html/pisgchek &gt;/dev/null 2&gt;&amp;1</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7174">honeybee</a> — Sat May 06, 2006 8:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ElZeRo]]></name></author>
		<updated>2006-01-31T09:32:03-04:00</updated>

		<published>2006-01-31T09:32:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59962#p59962</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59962#p59962"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59962#p59962"><![CDATA[
that should do it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6092">ElZeRo</a> — Tue Jan 31, 2006 9:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tobydude]]></name></author>
		<updated>2006-01-31T03:08:59-04:00</updated>

		<published>2006-01-31T03:08:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59954#p59954</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59954#p59954"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59954#p59954"><![CDATA[
ElZeRo.<br>The script works for me too. thx<br>It update every 6 hour. (the default setting).<br>If I want to choose update every 18 hour,<br>should I put # in front of the other time options?<br>like:<br><br># automagic updating - every 6 hours by default<br>#            MM HH D M Y<br>#bind time - "00 00 * * *" pisg_stats<br>#bind time - "00 06 * * *" pisg_stats<br>#bind time - "00 12 * * *" pisg_stats<br>  bind time - "00 18 * * *" pisg_stats<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6320">tobydude</a> — Tue Jan 31, 2006 3:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ElZeRo]]></name></author>
		<updated>2006-01-30T12:06:50-04:00</updated>

		<published>2006-01-30T12:06:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59937#p59937</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59937#p59937"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59937#p59937"><![CDATA[
Try this Script -&gt; <br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=923" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=923</a> pisg-0.5.tcl<br><blockquote class="uncited"><div> Pisg stats automaker. Multi-channel, ftp support, easy to configure. </div></blockquote>Im using it ... Works fine <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6092">ElZeRo</a> — Mon Jan 30, 2006 12:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tobydude]]></name></author>
		<updated>2006-01-30T11:01:31-04:00</updated>

		<published>2006-01-30T11:01:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59936#p59936</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59936#p59936"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59936#p59936"><![CDATA[
Is the meaning that the code should be added in the bots config-file?<br>I use mirclog.tcl and the logfile is in /home/tessa/miki/mircstatlog/<br><br>(My account is open again)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6320">tobydude</a> — Mon Jan 30, 2006 11:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tobydude]]></name></author>
		<updated>2006-01-31T03:10:00-04:00</updated>

		<published>2006-01-30T10:57:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59935#p59935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59935#p59935"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59935#p59935"><![CDATA[
mm<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6320">tobydude</a> — Mon Jan 30, 2006 10:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tobydude]]></name></author>
		<updated>2006-01-28T23:14:20-04:00</updated>

		<published>2006-01-28T23:14:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59887#p59887</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59887#p59887"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59887#p59887"><![CDATA[
Alchera, I appreciate your. help.<br><br>(I  was drunk last night, sorry)  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><br><br>Unfortunately my shellaccount have been closed because someone<br>on the forum has tryed to "hack" my account. Heh.<br>I didnt think any user on this forum even did care about logging<br>in to my account.<br><br>(And yes, I DID learn something. Never post login information on a forum)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6320">tobydude</a> — Sat Jan 28, 2006 11:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-01-28T22:23:34-04:00</updated>

		<published>2006-01-28T22:23:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59885#p59885</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59885#p59885"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59885#p59885"><![CDATA[
I think you misunderstand what pisg actually is. pisg is a <strong class="text-strong">Perl</strong> IRC Statistics Generator that uses eggdrops' logs to create an index.html making it available via the WWW. eggdrop has nothing to do with pisg other than the fact that the generated log files are read by pisg.<br><br>For the whole thing to work you also need Apache running on your account and it's preferable you pop the pisg files into a public_html folder.<br><br>The following settings are also needed in your bots' conf:<div class="codebox"><p>Code: </p><pre><code>set max-logs 365set max-logsize 0set quick-logs 0set raw-log 0logfile mco * "logs/miki.log"logfile jpk #Channel "stats/channel.log"# Use this feature to timestamp entries in the log file.set log-time 1# If you want to keep your logfiles forever, turn this setting on. Allset keep-all-logs 1</code></pre></div>Notice that I created a directory called 'stats' and have all the logs to be used by pisg stored in it; keeps it separate from the normal bot logs.<br><br>I suggest you read carefully *all* documentation here: <a href="http://pisg.sourceforge.net/" class="postlink">http://pisg.sourceforge.net/</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Jan 28, 2006 10:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tobydude]]></name></author>
		<updated>2006-01-28T12:13:45-04:00</updated>

		<published>2006-01-28T12:13:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59834#p59834</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59834#p59834"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59834#p59834"><![CDATA[
hmm...<br>Can you fix it for me?<br><br><span style="color:red"><strong class="text-strong">EDITED</strong>: You do not post your account login information publicly in any forums.<br></span><br>Mybe I´ll learn something.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6320">tobydude</a> — Sat Jan 28, 2006 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-01-28T11:52:37-04:00</updated>

		<published>2006-01-28T11:52:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59833#p59833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59833#p59833"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59833#p59833"><![CDATA[
What is statcron.tcl? What I posted has nothing to do with any TCL scripts. My post simply shows how to execute pisg once per day (and it works *if* pisg &amp; pisgchek are located in the same dir).<br><br>NB: My "script" cannot be loaded/run by eggdrop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Jan 28, 2006 11:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tobydude]]></name></author>
		<updated>2006-01-28T11:39:11-04:00</updated>

		<published>2006-01-28T11:39:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59831#p59831</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59831#p59831"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59831#p59831"><![CDATA[
While rehashing the bot after installing the script: (miki)<br><br>[16:36] Tcl error in file 'miki.conf':<br>[16:36] invalid command name "statsbin="./pisg""<br>    while executing<br>"statsbin="./pisg" "<br>    (file "scripts/statcron.tcl" line 3)<br>    invoked from within<br>"source scripts/statcron.tcl"<br>    (file "miki.conf" line 1368)<br>[16:36] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<br><br>"My" script and crontabentry:<br><br>#!/bin/sh <br><br>statsbin="./pisg" <br>statpath="/home/tessa/pisg-0.67/" <br><br>cd $statpath <br><br>$statsbin<br><br># 0 0 * * * /home/tessa/pisg-0.67/pisgchek &gt;/dev/null 2&gt;&amp;1<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6320">tobydude</a> — Sat Jan 28, 2006 11:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-01-28T11:01:30-04:00</updated>

		<published>2006-01-28T11:01:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59830#p59830</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59830#p59830"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59830#p59830"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>0 0 * * * ~/pisg-0.67/pisgchek &gt;/dev/null 2&gt;&amp;1</code></pre></div>pisgchek:<div class="codebox"><p>Code: </p><pre><code>#!/bin/shstatsbin="./pisg"statpath="/home/tessa/pisg-0.67/"cd $statpath$statsbin</code></pre></div>pisgchek &amp; pisg reside in the same directory and chmod 755 both files to make them executable.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Jan 28, 2006 11:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tobydude]]></name></author>
		<updated>2006-01-28T09:45:53-04:00</updated>

		<published>2006-01-28T09:45:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59820#p59820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59820#p59820"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59820#p59820"><![CDATA[
Hi again.<br>What shall I put where I have the questionmarks?<br>0 0 * * * /home/tessa/pisg-0.67/?? &gt;/dev/null 2&gt;&amp;1<br><br>Shall I put "./pisg" , there?<br><br>The pat to the pisg execute is: <br><br>statpath="/home/tessa/pisg-0.67/"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6320">tobydude</a> — Sat Jan 28, 2006 9:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tobydude]]></name></author>
		<updated>2006-01-27T15:27:50-04:00</updated>

		<published>2006-01-27T15:27:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59795#p59795</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59795#p59795"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59795#p59795"><![CDATA[
Thx.<br>I will try that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6320">tobydude</a> — Fri Jan 27, 2006 3:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-01-27T11:32:49-04:00</updated>

		<published>2006-01-27T11:32:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59786#p59786</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59786#p59786"/>
		<title type="html"><![CDATA[Update Pisg via channel kommand.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59786#p59786"><![CDATA[
I use the following crontab entry:<div class="codebox"><p>Code: </p><pre><code>0 0 * * * ~/public_html/pisgchek &gt;/dev/null 2&gt;&amp;1</code></pre></div>The script I wrote:<div class="codebox"><p>Code: </p><pre><code>#!/bin/shstatsbin="./pisg"statpath="/home/Barry/public_html"cd $statpath$statsbin</code></pre></div>The crontab checks once per day at midnight. You'd need to alter the path in the script and crontab entry for your setup.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Jan 27, 2006 11:32 am</p><hr />
]]></content>
	</entry>
	</feed>
