From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Phil Farrell Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: How to get rid of blasted UPDATE /usr/sbin/acct/holidays message! (fwd) Date: Fri, 03 Jan 2003 10:46:40 -0800 (PST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1041619567 765 80.91.224.249 (3 Jan 2003 18:46:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 3 Jan 2003 18:46:07 +0000 (UTC) Cc: "Dr Thomas.Blinn@HP.com" Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18UWpZ-0000Bz-00 for ; Fri, 03 Jan 2003 19:46:05 +0100 Original-Received: (qmail 2672 invoked by uid 5); 3 Jan 2003 18:46:50 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2663 invoked by uid 49493); 3 Jan 2003 18:46:48 -0000 Original-Received: from farrell@pangea.Stanford.EDU by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-5.4/5.0):. Processed in 0.439755 secs); 03 Jan 2003 18:46:48 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 3 Jan 2003 18:46:48 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H85005MGITYVS@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 03 Jan 2003 13:46:47 -0500 (EST) Original-Received: from pangea.Stanford.EDU (pangea.Stanford.EDU [171.64.168.31]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H85007L6ITSJE@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 03 Jan 2003 13:46:41 -0500 (EST) Original-Received: from localhost (farrell@localhost) by pangea.Stanford.EDU (8.11.3/8.11.3) with ESMTP id h03Ikex03712; Fri, 03 Jan 2003 10:46:40 -0800 (PST) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:2843 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2843 Hi Managers, Dr. Thomas Blinn hit the nail on the head. My mistake was rather silly. I updated the list of holidays, but forgot to update the year number at the top of the /usr/sbin/acct/holidays file to be 2003! Sometimes you just need another pair of eyes to see what is right in front of your nose :-). Original question follows. -Phil Farrell, Computer Systems Manager Stanford University School of Earth Sciences farrell@pangea.stanford.edu > Hi Managers, > > My Tru64 UNIX v4.0g system (all latest patches applied) has been > sending me the following mail message every day around 3 a.m. since > at least December 27 (could be earlier -- I wasn't paying close > attention at first): > > > Date: Fri, 3 Jan 2003 03:19:19 -0800 (PST) > > From: System PRIVILEGED Account > > > ***UPDATE /usr/sbin/acct/holidays WITH NEW HOLIDAYS*** > > > > ************************************************* > > Cron: The previous message is the standard output > > and standard error of one of your cron commands. > > I edited the /usr/sbin/acct/holidays file the first time I saw > this message. But the message won't stop! How do I stop it? > > I run a system management script every day at 2:30 a.m., which > usually takes 30 to 40 minutes to complete its tasks. One of > the last tasks is to process the previous day's accounting information > with /usr/sbin/acct/acctcms. This occurs near the end of the > script and would be consistent with the timing of the cron > mails. I see with "strings" that this executable contains the string > ***UPDATE %s WITH NEW HOLIDAYS*** > so it is undoubtedly the source of the message. But how do I > convince it that I have updated the file, so it will stop pestering > me with those messages? > > Thanks for any ideas. > > -Phil Farrell, Computer Systems Manager > Stanford University School of Earth Sciences > farrell@pangea.stanford.edu Tom Dr. Thomas P. Blinn + Tru64 UNIX Software + Hewlett-Packard Company Internet: tpb@zk3.dec.com, thomas.blinn@compaq.com, thomas.blinn@hp.com 110 Spit Brook Road, MS ZKO3-2/W17 Nashua, New Hampshire 03062-2698 Alpha Hardware Platforms and I/O Phone: (603) 884-0646 ACM Member: tpblinn@acm.org PC@Home: tom@felines.mv.net Worry kills more people than work because more people worry than work. Keep your stick on the ice. -- Steve Smith ("Red Green") My favorite palindrome is: Satan, oscillate my metallic sonatas. -- Phil Agre, pagre@alpha.oac.ucla.edu Yesterday it worked / Today it is not working / UNIX is like that -- apologies to Margaret Segall Opinions expressed herein are my own, and do not necessarily represent those of my employer or anyone else, living or dead, real or imagined.