mharc-users

Re: cron...?

2002-08-02 06:25:35
By the way, when I upgrade, I assume I should remove the .procmailrc
that I had?  Lest the issue of procmail automatically delivering mail to
the folders still will be there...

On Thu, 2002-08-01 at 14:56, Earl Hood wrote:
On August 1, 2002 at 14:06, Sean M Alderman wrote:

Auto-Archiving says enables, but isn't updating archives hourly.  It
seems like I can only add new messages to my archives if I run make
rebuild.  My crontab is below -

[mharc(_at_)aragorn:mharc]$ make enable
=============================================================
!!! Auto-archive processing is ENABLED !!!
=============================================================
[mharc(_at_)aragorn:mharc]$ crontab -l
# $Id: crontab.in.dist,v 1.2 2002/03/06 19:52:15 ehood Exp $
#       Template crontab for archive user.  Messages are processed on
#       an hourly basis.  However, for one day of the week new message
#       processing is not done to allow for cleanup.
#
57 * * * 1-6    /usr/appl/www/mailarch.grc.nasa.gov/mharc/bin/read-mail
/usr/appl/www/mailarch.grc.nasa.gov/mharc/log/cron.log 2>&1
57 0,4-23 * * 0 /usr/appl/www/mailarch.grc.nasa.gov/mharc/bin/read-mail
/usr/appl/www/mailarch.grc.nasa.gov/mharc/log/cron.log 2>&1
57 1 * * 0     
/usr/appl/www/mailarch.grc.nasa.gov/mharc/bin/gc-search-indexes >>
/usr/appl/www/mailarch.grc.nasa.gov/mharc/log/cron.log 2>&1
57 3 * * 0     
/usr/appl/www/mailarch.grc.nasa.gov/mharc/bin/compress-mboxes >>
/usr/appl/www/mailarch.grc.nasa.gov/mharc/log/cron.log 2>&1

I just ran make rebuild (last time i did it was the 29th) and archived
messages from 4 lists that it hadn't previously created from the 30, 31,
and today.

You can do a "ls -a" to see if the file ".noarchive" is present.  If
it is, auto-updates are disabled.

Does the cron.log contain any messages?  If you know there is mail
in the spool file, you can manually run
"/usr/appl/www/mailarch.grc.nasa.gov/mharc/bin/read-mail" and then
check to see if the spool file has been emptied.

You may also want to put a test entry in your crontab to verify that
the system is executing your crontab entries.

BTW, are you using an older version of mharc?  A version that generates
a .procmailrc vs a procmailrc.mharc file?  If you extracted mharc
directly in the home directory in the archive account, and procmail
is your local delivery agent, then your mail is being delivered into
the raw archives as messages are delivered and nothing is place in the
mail spool (procmail will automatically read any .procmailrc file in
a user's home directory).  If this is the case, filter-spool returns
non-zero and the read-mail script will then skip calling web-archive
since it believes there is no mail to process.

This "conflict" was fixed in v0.5.0.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS


-- 
Sean M. Alderman
ITRACK Systems Analyst
PACE/NCI - NASA Glenn Research Center
(216) 433-2795

Calling a windowed operating system "Windows" is like naming an
automobile "Wheels."

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

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