Koozali.org: home of the SME Server

Cron <root@mail> run-parts /etc/cron.weekly

Bill Talcott

Cron <root@mail> run-parts /etc/cron.weekly
« on: June 03, 2002, 06:34:00 PM »
I get these emails every week. I have installed the user-manager panel, but I'm not actually using its features. Is that the problem? Is there any way to fix it? It's not a big deal, just I'd rather not get the emails if I don't have to...

From: "Cron Daemon"
To:
Sent: Sunday, June 02, 2002 4:23 AM
Subject: Cron run-parts /etc/cron.weekly


> /etc/cron.weekly/procmail-users:
>
> /usr/bin/run-parts: /etc/cron.weekly/procmail-users: No such file or directory


Here's what's in the file...
/etc/cron.weekly/procmail-users
----------------------------------------------
#!/bin/sh
# logrotation script for e-smith-procmail

/sbin/e-smith/signal-event user-logrotate

Nathan Fowler

Re: Cron <root@mail> run-parts /etc/cron.weekly
« Reply #1 on: June 03, 2002, 11:37:18 PM »
For what it's worth, I tried updating /etc/crontab and mailing to NULL, that didn't work.  Instead I created a user account called "cronmail".  In /etc/crontab I updated the mailto to point to "cronmail".  From then on I had a mailbox that would store crontab data without filling my inbox.  When the mailbox got too full I simply "rm -rf /home/e-smith/files/users/cronmail/Maildir/new" and life is back to normal.

Remember that /etc/crontab is templated, so be sure to modify and re-expand /etc/e-smith/templates/etc/crontab/template-begin

Hope this helped, while it isn't a sure-fire fix it at least makes the crontab messages managable.

Nathan

stephen noble

Re: Cron <root@mail> run-parts /etc/cron.weekly
« Reply #2 on: June 04, 2002, 11:28:31 AM »
that's been fixed in a later version of the userpanel/procmail

[and gets mentioned about every month]