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

	<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>2003-01-18T12:59:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-18T12:59:57-04:00</updated>

		<published>2003-01-18T12:59:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15500#p15500</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15500#p15500"/>
		<title type="html"><![CDATA[mail]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15500#p15500"><![CDATA[
Run <div class="codebox"><p>Code: </p><pre><code>crontab -e</code></pre></div> and put a line <div class="codebox"><p>Code: </p><pre><code>MAILTO="foo@bar.com"</code></pre></div> at the top (above your botchk statement(s)).<br><br>This should work.<br><br><em class="text-italics">man crontab</em> though, not really eggdrop material...<br><br>T<p>Statistics: Posted by Guest — Sat Jan 18, 2003 12:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-18T11:56:02-04:00</updated>

		<published>2003-01-18T11:56:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15499#p15499</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15499#p15499"/>
		<title type="html"><![CDATA[mail]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15499#p15499"><![CDATA[
The autobotchk script, is designed to create a "botchk" script, tailered to your bot, it then inserts a line in your crontab to load it. Nothing more.<br><br>The botchk script, will check if the bot is running. If not, load it, if so, simply exit the script.<br><br>The crond program, which runs the script at specific times, will e-mail any output the scripts produce, to the mailbox setup you userX on that shell. userX is the username of persons crontab it is working on.<br><br>As noted, e-mail redirection on the shell will forward it on.<br><br>It is the crond doeing the e-mailing, not the botchk, or autobotchk script.<br><br>The -noemail option, simply redirects the test to nowhere, instead of into the buffer that is used to make the e-mail.<br><br>Another method, as well as mail re-direction, is to setup the botchk script to redirect output into a specific file, a second crond script will then detect if the file exists, if so, that script is designed to send mail to other addresses.<br><br>This is all beyond the scope of this forum.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Jan 18, 2003 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gk^]]></name></author>
		<updated>2003-01-18T11:14:53-04:00</updated>

		<published>2003-01-18T11:14:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15498#p15498</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15498#p15498"/>
		<title type="html"><![CDATA[mail]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15498#p15498"><![CDATA[
So it isnt possible to do it with crontab then? Couse I am my shell provider, and I dont know how to forward emails. And I would like to do this with crontab. .  Thank you for all your help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1656">gk^</a> — Sat Jan 18, 2003 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-18T11:06:04-04:00</updated>

		<published>2003-01-18T11:06:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15497#p15497</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15497#p15497"/>
		<title type="html"><![CDATA[mail]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15497#p15497"><![CDATA[
The simplest method, will be to set up redirection for your shell e-mail, than doing anything else.<br><br>E-mail is not sent by the botchk script.<br><br>E-mail is sent by the cron demon. It does this by senidng anything sent to STDOUT, in a e-mail to, to your username on the shell.<br><br>As such, you can redirect all e-mails sent to your shell, to another address. How this is done, you are best speaking to your shell provider, to see how this can be aranged.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Jan 18, 2003 11:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gk^]]></name></author>
		<updated>2003-01-18T10:57:52-04:00</updated>

		<published>2003-01-18T10:57:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15496#p15496</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15496#p15496"/>
		<title type="html"><![CDATA[mail]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15496#p15496"><![CDATA[
How can I make the autobotchk mail me at <a href="mailto:bot@foo.com">bot@foo.com</a> if the bot has gone down?<br>I tried -mail <a href="mailto:bot@foot.com">bot@foot.com</a> instead of -noemail, but it didnt work.. Anyone?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1656">gk^</a> — Sat Jan 18, 2003 10:57 am</p><hr />
]]></content>
	</entry>
	</feed>
