<?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/12333" />

	<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-08-27T22:13:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-08-27T22:13:52-04:00</updated>

		<published>2006-08-27T22:13:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65904#p65904</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65904#p65904"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65904#p65904"><![CDATA[
<blockquote class="uncited"><div>it's probably not working because the prior posts did not explain how to create the botchk file that they told you to crontab, small wonder it's not working</div></blockquote>Came included with the eggdrop source archive.<br><br>cat /home/mybot/source/eggdrop1.6.18/README<br><br>$Id: README,v 1.44 2006-03-27 06:48:57 wcc Exp $<br><br>Readme<br>Last revised: June 5, 2002<br>     <br>                                   Readme<br><br><br>  Please at least SKIM this document before asking questions. In fact, READ IT  if you've never successfully set up an Eggdrop bot before. PLEASE! READ IT!<br><br>  Contents<br><br>    &lt;snip&gt;<br>    7. Setting up a crontab<br>       7a. Setting up a crontab using autobotchk<br>    &lt;snip&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Aug 27, 2006 10:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Robot42]]></name></author>
		<updated>2006-08-27T21:12:50-04:00</updated>

		<published>2006-08-27T21:12:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65901#p65901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65901#p65901"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65901#p65901"><![CDATA[
For number 2, what parts would I edit?  I see lines such as "/home/mydir/mybot" and "To check for your bot every 10 minutes, put the following line in your<br># crontab:<br>#    0,10,20,30,40,50 * * * *   /home/mydir/mybot/botchk<br>#"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8131">Robot42</a> — Sun Aug 27, 2006 9:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-08-27T19:45:01-04:00</updated>

		<published>2006-08-27T19:45:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65898#p65898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65898#p65898"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65898#p65898"><![CDATA[
it's probably not working because the prior posts did not explain how to create the botchk file that they told you to crontab, small wonder it's not working<br><br>do the following to "botchk" file in the scripts directory:<ol style="list-style-type:decimal"><li>copy that file to the main eggdrop directory</li><li>edit file to include paths relevant to your bot</li><li>save file as bot.botchk</li><li>chmod u+x bot.botchk</li></ol>now you can crontab bot.botchk<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Aug 27, 2006 7:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Robot42]]></name></author>
		<updated>2006-08-27T17:10:08-04:00</updated>

		<published>2006-08-27T17:10:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65897#p65897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65897#p65897"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65897#p65897"><![CDATA[
I don't think it's doing anything because it keeps on exiting the channel after an hour or so.<br><br>[13:33:33] * Tyranitar (<a href="mailto:Tyranitar@disco.m1rc.net">Tyranitar@disco.m1rc.net</a>) Quit (Client exited)<br><br>That's what happens.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8131">Robot42</a> — Sun Aug 27, 2006 5:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-08-26T16:18:40-04:00</updated>

		<published>2006-08-26T16:18:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65860#p65860</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65860#p65860"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65860#p65860"><![CDATA[
<blockquote class="uncited"><div>So I type in: 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/mybot/botchk &gt;/dev/null 2&gt;&amp;1<br><br>Could you please show me an example of what it would look like.</div></blockquote>Uhm..it looks just like that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Aug 26, 2006 4:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrzychuG]]></name></author>
		<updated>2006-08-26T14:56:36-04:00</updated>

		<published>2006-08-26T14:56:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65858#p65858</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65858#p65858"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65858#p65858"><![CDATA[
Use:<div class="codebox"><p>Code: </p><pre><code>*/5 * * * * /home/mybot/botchk &gt;/dev/null 2&gt;&amp;1</code></pre></div>It'll do the same but looks better ;)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3672">KrzychuG</a> — Sat Aug 26, 2006 2:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Robot42]]></name></author>
		<updated>2006-08-26T13:21:24-04:00</updated>

		<published>2006-08-26T13:21:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65854#p65854</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65854#p65854"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65854#p65854"><![CDATA[
So I type in: 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/mybot/botchk &gt;/dev/null 2&gt;&amp;1<br><br>Could you please show me an example of what it would look like.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8131">Robot42</a> — Sat Aug 26, 2006 1:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-08-25T21:35:29-04:00</updated>

		<published>2006-08-25T21:35:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65828#p65828</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65828#p65828"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65828#p65828"><![CDATA[
Read 'man 1 crontab' <br><br>Assuming you're on a unix-type system and have crond actually running, you do:<br><br>crontab -e username (whatever username your bot's supposed to run as)<br><br>Then in the crontab file, you put something like:<br><br>0,5,10,15,20,25,30,35,40,45,50,55 * * * *   /home/mybot/botchk &gt;/dev/null 2&gt;&amp;1<br><br><br>This will run the botchk script every 5 minutes, and redirect the junk that cron will otherwise mail to you, to /dev/null.<br><br>As per the manpage for Dillon cron:<br><br> The crontab format is roughly similar to that used by vixiecron, but without complex features.  Individual fields may contain a time, a time range, a time range with a skip factor, a symbolic range for the day of week and month in year, and additional subranges delimited with commas.   Blank  lines  in the  crontab or lines that begin with a hash (#) are ignored.  If you specify both a day in the month and a day of week, the result is effectively ORd... the crontab entry will be run  on  the  specified day of week and on the specified day in the month.<br><br>       # MIN HOUR DAY MONTH DAYOFWEEK   COMMAND<br>       # at 6:10 a.m. every day<br>       10 6 * * * date<br><br>       # every two hours at the top of the hour<br>       0 */2 * * * date<br><br>       # every two hours from 11p.m. to 7a.m., and at 8a.m.<br>       0 23-7/2,8 * * * date<br><br>       # at 11:00 a.m. on the 4th and on every mon, tue, wed<br>       0 11 4 * mon-wed date<br><br>       # 4:00 a.m. on january 1st<br>       0 4 1 jan * date<br><br>       # once an hour, all output appended to log file<br>       0 4 1 jan * date &gt;&gt;/var/log/messages 2&gt;&amp;1<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Fri Aug 25, 2006 9:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Robot42]]></name></author>
		<updated>2006-08-25T20:14:14-04:00</updated>

		<published>2006-08-25T20:14:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65827#p65827</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65827#p65827"/>
		<title type="html"><![CDATA[Crontab help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65827#p65827"><![CDATA[
Hi,<br><br>I recently got my eggdrop bot running.  After a certain amount of time on the channel, the bot exits out automatically.  I was thinking that this is because I haven't installed crontab in.  I looked at the crontab guides, several actually, and I don't seem to understand what to do.  I was hoping that someone would post step-by-step instructions on how to get crontab running.  I tried the search function and found nothing.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8131">Robot42</a> — Fri Aug 25, 2006 8:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
