LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2003, 11:48 PM   #1
sanjibgupta
Member
 
Registered: Apr 2003
Location: Kolkata
Posts: 215

Rep: Reputation: 30
Cron


Every day i get a mail which says the following

/etc/cron.daily/00webalizer:

Warning: Truncating oversized date field
Warning: Truncating oversized date field
Warning: Truncating oversized date field
Warning: Truncating oversized date field


It is a huge file nearing 1MB (which grows every day) having the repeation of this lines only. what is it and does it has any impact on OS (Red Hat 9.0) what should i do so that dont get this warning.


Thanks
Sanib Gupta
 
Old 12-12-2003, 12:55 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Check your crontab and remove it if you don't want this running every day. Most likely something setup automatically for webalizer or something like that.
 
Old 12-13-2003, 07:29 AM   #3
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
yeah, I use to directly remove the file /etc/cron.daily/00webalizer

Also, if you don't want to receive any mail messages from cron, you can set the environment variable MAILTO to empty on /etc/profile

MAILTO=""
export MAILTO

Check http://www.viaverio.com/support/virt.../unix/cron.cfm
 
Old 02-01-2004, 01:20 PM   #4
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Rep: Reputation: 30
does anyone know if removing /etc/cron.daily/00webalizer will stop webalizer from working properly?

Thanks

Lucas
 
Old 05-03-2004, 02:53 PM   #5
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
It will work, it just wont be automated (because you're taking it out of the cron).
 
Old 05-03-2004, 05:03 PM   #6
nerdstat
LQ Newbie
 
Registered: Apr 2004
Location: Brussels, Belgium
Distribution: Gentoo with 2.6.8-kernel
Posts: 15

Rep: Reputation: 0
That's not really the nice way to remove it...
First you should do
Code:
 crontab -u username -l
There you will get a list with everything that is being sheduled by crontab.

You should copy that output to a texteditor and remove the line that calls that webalizer-thingy...

Save that file (eg: in /home/username/cron.txt)

Then run this command:

Code:
 crontab -u username /home/username/cron.txt
By doing it this way, that job will be removed nicely and the other sheduled jobs will still run.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 09:09 AM
cron.allow and cron.deny in slackware? tl64 Slackware 5 10-13-2005 10:44 PM
No More Cron Mail, Cron Error? Xhost Linux - General 3 07-26-2004 05:28 PM
[cron][mdk9.1]cron deamon seems to ignore some task... yannrichet Linux - Newbie 5 06-26-2003 10:57 AM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration