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!
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
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