Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Re(2): iTools Logging, cron

To: "Tenon iTools List" <itools@xxxxxxxxxxxxxxx>
Subject: Re(2): iTools Logging, cron
From: "Bill Staudenheimer" <bstaud@xxxxxxxxx>
Date: Wed, 30 Apr 2003 16:43:56 -0700
iTools System Updates have been applied, through Q30020404, then
sudo /System/Library/StartupItems/Cron/Cron stop
sudo /System/Library/StartupItems/Cron/Cron start


With the added "-update > /dev/null 2>&1"
since there is no stdout or stderr, cron does not email anything,
but there is still an entry each time in /var/log/system.log, such as:

Apr 30 16:40:00 ripples CRON[1349]: (www) CMD (/Library/Tenon/WebLog/cgi-
bin/awstats.pl 
    -config=www.staudenheimer.com 
    -logfile=/Library/Tenon/WebServer/Logs/www.staudenheimer.com.access_log 
    -update > /dev/null 2>&1) 

Bill

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 William L. Staudenheimer                   bstaud@xxxxxxxxx
 System Guides           530-272-4892          www.sysgu.com

>Hi Bill,
>
>Did you run the System Updates?  System Updates (Q30020403) fixes this  
>problem by silence awstats warning message.
>Therefore, if you installed the patch, then you don't need to give www  
>user a login to receive email.
>
>If you already ran the update, but the messages are still appearing,  
>then check your cron jobs.
>At the end of each cron job, it would say "-update", and change that to  
>"-update > /dev/null 2>&1".
>Hope this helps.
>
>regards,
>Eric
>
>On Wednesday, April 30, 2003, at 11:51 AM, Bill Staudenheimer wrote:
>
>> After installing iTools 7.0:
>>
>> 1) Cron is running for  www-owner, and awstats wants to email to www
>> but there is no login or user directory for www to read the emails
>> Workaround:
>>     sudo mail -f /var/mail/www
>> Otherwise www has to have a login to read the emails.
>>     1) Should the www user be given a login?
>>     2) Should some config assign the www mail to some other user?
>>
>> 2) Cron for www makes  a /var/log/system.log entry every 10 minutes for
>> every virtual host that awstats.pl is logging.
>> Sheesh. Clutter.
>>
>> Workarounds, I am considering, in ascending order of severity:
>>     1) Edit (what file?) for cron to run that www less often.
>>     2) Delete the www file, /var/spool/cron/www
>>     3) Kill cron altogether
>> Can I otherwise make awstats shut up?
>>
>> Bill
>>
>>
>> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
>>  William L. Staudenheimer                   bstaud@xxxxxxxxx
>>  System Guides           530-272-4892          www.sysgu.com
>>
>>
>> ---------
>> Tenon Intersystems' iTools Mailing List
>> To unsubscribe: send mail to
>> itools-request@xxxxxxxxxxxxxxx
>> with the body only containing:
>> unsubscribe
>> Find the searchable mailing list archives
>> at:
>> http://itools.blackpepper.co.nz/
>>
>>
>------------------------------------------------------------------------ 
>--------------------------
>Eric Yang                                                              Senior 
>Software Engineer
>Tenon Intersystems                                                             
>        
>eyang@xxxxxxxxx
>1123 Chapala Street                                                            
>805-963-6983
>Santa Barbara, CA 93101                                              
>http://www.tenon.com
>------------------------------------------------------------------------ 
>--------------------------
>Hi Bill,
>
>Did you run the System Updates?  System Updates (Q30020403) fixes this
>problem by silence awstats warning message.
>Therefore, if you installed the patch, then you don't need to give www
>user a login to receive email.
>
>If you already ran the update, but the messages are still appearing, then
>check your cron jobs.
>At the end of each cron job, it would say "-update", and change that to
>"-update > /dev/null 2>&1".
>Hope this helps.
>
>regards,
>Eric
>
>On Wednesday, April 30, 2003, at 11:51 AM, Bill Staudenheimer wrote:
>
>After installing iTools 7.0:
>
>1) Cron is running for  www-owner, and awstats wants to email to www
>but there is no login or user directory for www to read the emails
>Workaround:
>    sudo mail -f /var/mail/www
>Otherwise www has to have a login to read the emails.
>    1) Should the www user be given a login?
>    2) Should some config assign the www mail to some other user?
>
>2) Cron for www makes  a /var/log/system.log entry every 10 minutes for
>every virtual host that awstats.pl is logging. 
>Sheesh. Clutter.
>
>Workarounds, I am considering, in ascending order of severity:
>    1) Edit (what file?) for cron to run that www less often.
>    2) Delete the www file, /var/spool/cron/www
>    3) Kill cron altogether
>Can I otherwise make awstats shut up?
>
>Bill
>
>
>+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
> William L. Staudenheimer                   bstaud@xxxxxxxxx
> System Guides           530-272-4892          www.sysgu.com
>
>
>---------
>Tenon Intersystems' iTools Mailing List
>To unsubscribe: send mail to 
>itools-request@xxxxxxxxxxxxxxx
>with the body only containing: 
>unsubscribe
>Find the searchable mailing list archives 
>at:
>http://itools.blackpepper.co.nz/                               
>
>
>-------------------------------------
>-------------------------------------------------------------
>Eric Yang                                                              Senior 
>Software Engineer
>Tenon Intersystems                                                             
>       eyang@xxxxxxxxx
>1123 Chapala Street                                                           
>805-963-6983
>Santa Barbara, CA 93101                                            
>http://www.tenon.com
>-------------------------------------
>-------------------------------------------------------------


---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to 
itools-request@xxxxxxxxxxxxxxx
with the body only containing: 
unsubscribe
Find the searchable mailing list archives 
at:
http://itools.blackpepper.co.nz/                               

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists