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

	<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>2005-12-20T00:08:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-20T00:08:48-04:00</updated>

		<published>2005-12-20T00:08:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58497#p58497</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58497#p58497"/>
		<title type="html"><![CDATA[bind time, each quarter, (but hourly an extra command)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58497#p58497"><![CDATA[
<blockquote class="uncited"><div>Isn't that a bug in the eggdrop then?<br><br>I just checked my crontab, in there the '0 * * * * &lt;command&gt;' works fine. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"></div></blockquote>eggdrop has nothing to do with crontab, so requiring 00 is not a bug<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Dec 20, 2005 12:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-12-19T16:55:27-04:00</updated>

		<published>2005-12-19T16:55:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58493#p58493</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58493#p58493"/>
		<title type="html"><![CDATA[bind time, each quarter, (but hourly an extra command)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58493#p58493"><![CDATA[
<blockquote class="uncited"><div>Isn't that a bug in the eggdrop then?<br><br>I just checked my crontab, in there the '0 * * * * &lt;command&gt;' works fine. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"></div></blockquote>Not necessary a bug, it maybe takes it as a string 00 rather than a number. btw<div class="codebox"><p>Code: </p><pre><code>bind time - "00 * * * *" ac_quarter</code></pre></div>can be reduced to<div class="codebox"><p>Code: </p><pre><code>bind time - "00 *" ac_quarter</code></pre></div>since '*' matches everything (including spaces).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Dec 19, 2005 4:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkDeviL]]></name></author>
		<updated>2005-12-19T14:33:53-04:00</updated>

		<published>2005-12-19T14:33:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58491#p58491</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58491#p58491"/>
		<title type="html"><![CDATA[bind time, each quarter, (but hourly an extra command)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58491#p58491"><![CDATA[
Isn't that a bug in the eggdrop then?<br><br>I just checked my crontab, in there the '0 * * * * &lt;command&gt;' works fine. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6430">DarkDeviL</a> — Mon Dec 19, 2005 2:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-12-19T14:17:12-04:00</updated>

		<published>2005-12-19T14:17:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58490#p58490</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58490#p58490"/>
		<title type="html"><![CDATA[bind time, each quarter, (but hourly an extra command)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58490#p58490"><![CDATA[
True! good eye there DarkDevil, it should be 00 in the bind and it will work perfectly as it is (without using the line I gave you).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Dec 19, 2005 2:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkDeviL]]></name></author>
		<updated>2005-12-19T14:08:45-04:00</updated>

		<published>2005-12-19T14:08:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58489#p58489</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58489#p58489"/>
		<title type="html"><![CDATA[bind time, each quarter, (but hourly an extra command)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58489#p58489"><![CDATA[
<blockquote class="uncited"><div>Try<div class="codebox"><p>Code: </p><pre><code>if {[string equal 00 $min]} {</code></pre></div></div></blockquote>00 ?<br><br>Is it "00 * * * *" (zero twice) when the hour changes?<br><br>if, then it's the bind there's wrong? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6430">DarkDeviL</a> — Mon Dec 19, 2005 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-12-19T11:58:18-04:00</updated>

		<published>2005-12-19T11:58:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58484#p58484</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58484#p58484"/>
		<title type="html"><![CDATA[bind time, each quarter, (but hourly an extra command)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58484#p58484"><![CDATA[
Try<div class="codebox"><p>Code: </p><pre><code>if {[string equal 00 $min]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Dec 19, 2005 11:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkDeviL]]></name></author>
		<updated>2005-12-19T11:34:03-04:00</updated>

		<published>2005-12-19T11:34:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58482#p58482</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58482#p58482"/>
		<title type="html"><![CDATA[bind time, each quarter, (but hourly an extra command)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58482#p58482"><![CDATA[
Hey!<br><br>As I said in the topic, I have it like:<br><div class="codebox"><p>Code: </p><pre><code>bind time - "0 * * * *" ac_quarterbind time - "15 * * * *" ac_quarterbind time - "30 * * * *" ac_quarterbind time - "45* * * *" ac_quarterproc ac_quarter {min hour day month year} {  if {$min=="0"} {    ac_check    timer 1 ac_check2  } else {    ac_check  }}</code></pre></div>Hourly, I want to do the same as each quarter, but additional an extra command should be used too, is this impossible?<br><br>I tried with if {$min=="0"}, and if {!$min} {, no one of them works hourly.<br><br>But if I do '.tcl ac_quarter 0 &lt;some more bullshit here&gt;', it works fine..<br><br>Simply, it ignore the hourly change when doing it automatically..<br><br>It should use ac_check hourly, and one minute after ac_check2.<br><br>If I remove ALL of the if-then-else stuff, it works fine each quarter.<br><br>Someone who know what the problem is?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6430">DarkDeviL</a> — Mon Dec 19, 2005 11:34 am</p><hr />
]]></content>
	</entry>
	</feed>
