egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

crontab emailing

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
NewzUK
Master


Joined: 18 Nov 2002
Posts: 200
Location: Auckland, New Zealand

PostPosted: Wed Aug 23, 2006 8:31 pm    Post subject: crontab emailing Reply with quote

Hi - I recently re-set up a crontab for a bot, but now it appears to be emailing the shell everytime the crontab checks to see if the bot is running. This didn't used to happen - any ideas?

Also, is there a way to mass-delete the emails on the shell as there are now hundreds of them!

Thanks!
_________________
#Newsroom - Where News & Markets Connect
http://www.inewsroom.net
#Newsroom on irc.othernet.org
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Aug 23, 2006 10:41 pm    Post subject: Re: crontab emailing Reply with quote

NewzNZ wrote:
Hi - I recently re-set up a crontab for a bot, but now it appears to be emailing the shell everytime the crontab checks to see if the bot is running. This didn't used to happen - any ideas?


check if you still have your crontab command(s) output suppressed (>/dev/null 2>&1); if not, that would be the reason why the cron daemon is emailing you with the output

Quote:

Also, is there a way to mass-delete the emails on the shell as there are now hundreds of them!

Thanks!


try the mail utility, then enter d1-300 to erase messages #1 to 300 (that probably won't work if your system uses mail agent other than sendmail)
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
NewzUK
Master


Joined: 18 Nov 2002
Posts: 200
Location: Auckland, New Zealand

PostPosted: Wed Aug 30, 2006 6:53 pm    Post subject: Reply with quote

thanks demond for the help - all fixed now. (apologies for the late reply)

=)
_________________
#Newsroom - Where News & Markets Connect
http://www.inewsroom.net
#Newsroom on irc.othernet.org
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber