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

	<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>2025-04-14T07:31:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2025-04-14T07:31:11-04:00</updated>

		<published>2025-04-14T07:31:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113287#p113287</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113287#p113287"/>
		<title type="html"><![CDATA[Re: znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113287#p113287"><![CDATA[
<blockquote class="uncited"><div>Let us familiarized the value of crontab schedule:<br>[...]</div></blockquote>Which reminded me of something.   Long ago, I stumbled onto a website somehow.  It is so useful, that I still use it !   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><a href="https://crontab.guru/" class="postlink">https://crontab.guru/</a><br><br>See the part near the center  "  5 4 * * *  " that is inside a lighter colored oval?     Just click on a value, and you can change it.      You'll see.<br><br><br><br>I hope that this is helpful to somebody, someday.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Apr 14, 2025 7:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nobody]]></name></author>
		<updated>2025-04-13T18:34:16-04:00</updated>

		<published>2025-04-13T18:34:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113283#p113283</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113283#p113283"/>
		<title type="html"><![CDATA[Re: znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113283#p113283"><![CDATA[
<blockquote class="uncited"><div>Just a small tip: don't use "znc" and prefer "/usr/bin/znc" <br><br>crontab works without user logged, so env is not loaded, especially $PATH. So crontab may not found where znc is. If you give the full path, there is no trouble.</div></blockquote><br><br>Thank you - I edited my post<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12858">nobody</a> — Sun Apr 13, 2025 6:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2025-04-13T06:56:29-04:00</updated>

		<published>2025-04-13T06:56:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113282#p113282</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113282#p113282"/>
		<title type="html"><![CDATA[Re: znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113282#p113282"><![CDATA[
Just a small tip: don't use "znc" and prefer "/usr/bin/znc" <br><br>crontab works without user logged, so env is not loaded, especially $PATH. So crontab may not found where znc is. If you give the full path, there is no trouble.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Apr 13, 2025 6:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nobody]]></name></author>
		<updated>2025-04-13T18:33:20-04:00</updated>

		<published>2025-04-13T03:43:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113281#p113281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113281#p113281"/>
		<title type="html"><![CDATA[Re: znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113281#p113281"><![CDATA[
Let us familiarized the value of crontab schedule:<br><div class="codebox"><p>Code: </p><pre><code>┌───────────── minute (0 - 59)│ ┌───────────── hour (0 - 23)│ │ ┌───────────── day of the month (1 - 31)│ │ │ ┌───────────── month (1 - 12)│ │ │ │ ┌───────────── day of the week (0 - 7) (Sunday is 0 or 7)│ │ │ │ │* * * * *  &lt;command to run&gt;</code></pre></div>here's some example of crontab for znc:<br><br>1. # Crontab entry to restart ZNC at midnight every day (which I personally use)<div class="codebox"><p>Code: </p><pre><code>(crontab -l 2&gt;/dev/null; echo "0 0 * * * /usr/bin/znc -r") | crontab -</code></pre></div>2. # adding znc in startup (after system restart/reboot)<div class="codebox"><p>Code: </p><pre><code>@reboot /usr/bin/znc</code></pre></div>3.  # it will rerun after 5 minutes<div class="codebox"><p>Code: </p><pre><code>*/5 * * * * /usr/bin/znc </code></pre></div>4. # At the top of every hour<div class="codebox"><p>Code: </p><pre><code>0 * * * *  /usr/bin/znc</code></pre></div>  <br><br>note: Use <div class="codebox"><p>Code: </p><pre><code>* * * * * /usr/bin/znc</code></pre></div> carefully — if your script is heavy or has side effects, it could overload the system by running every minute.<br><br>#edited as pointed out by @CrazyCat ( from znc to /usr/bin/znc - full path )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12858">nobody</a> — Sun Apr 13, 2025 3:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2024-12-03T07:36:33-04:00</updated>

		<published>2024-12-03T07:36:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113175#p113175</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113175#p113175"/>
		<title type="html"><![CDATA[Re: znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113175#p113175"><![CDATA[
<blockquote class="uncited"><div><a href="https://wiki.znc.in/FAQ#How_can_I_restart_ZNC_automatically_%28in_case_of_a_machine_reboot,_crash,_etc.%29?" class="postlink">From ZNC's official wiki</a></div></blockquote>thanks work for me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Tue Dec 03, 2024 7:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carlin0]]></name></author>
		<updated>2024-11-30T10:49:30-04:00</updated>

		<published>2024-11-30T10:49:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113171#p113171</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113171#p113171"/>
		<title type="html"><![CDATA[Re: znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113171#p113171"><![CDATA[
<a href="https://wiki.znc.in/FAQ#How_can_I_restart_ZNC_automatically_%28in_case_of_a_machine_reboot,_crash,_etc.%29?" class="postlink">From ZNC's official wiki</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12778">Carlin0</a> — Sat Nov 30, 2024 10:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[aslpls]]></name></author>
		<updated>2024-11-30T04:59:29-04:00</updated>

		<published>2024-11-30T04:59:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113170#p113170</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113170#p113170"/>
		<title type="html"><![CDATA[Re: znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113170#p113170"><![CDATA[
<blockquote class="uncited"><div>How to make crontab for znc</div></blockquote>hey abah, check this link maybe it helps. scroll down to find the crontab.<br><br><a href="https://wiki.ircnow.org/index.php?n=Znc.Install" class="postlink">https://wiki.ircnow.org/index.php?n=Znc.Install</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12622">aslpls</a> — Sat Nov 30, 2024 4:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-11-28T11:34:11-04:00</updated>

		<published>2024-11-28T11:34:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113168#p113168</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113168#p113168"/>
		<title type="html"><![CDATA[Re: znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113168#p113168"><![CDATA[
Usually you don't need any crontab for znc as they are working as service, or in background.<br><br>Can you explain what you try to do ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Nov 28, 2024 11:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2024-11-28T10:45:22-04:00</updated>

		<published>2024-11-28T10:45:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113166#p113166</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113166#p113166"/>
		<title type="html"><![CDATA[znc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113166#p113166"><![CDATA[
How to make crontab for znc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Thu Nov 28, 2024 10:45 am</p><hr />
]]></content>
	</entry>
	</feed>
