[Pkg-mailman-hackers] Pkg-mailman commit - rev 94 - branches/pkg-split/core/debian
Bernd S. Brentrup
bsb@haydn.debian.org
Thu, 29 Apr 2004 13:08:36 -0600
Author: bsb
Date: 2004-04-29 13:08:26 -0600 (Thu, 29 Apr 2004)
New Revision: 94
Added:
branches/pkg-split/core/debian/mailman.cron.d
Removed:
branches/pkg-split/core/debian/cron.daily
branches/pkg-split/core/debian/cron.monthly
Modified:
branches/pkg-split/core/debian/rules
Log:
Remove obsolete cron.{daily,monthly} scripts.
Standard treatment for /etc/cron.d/mailman.
Deleted: branches/pkg-split/core/debian/cron.daily
===================================================================
--- branches/pkg-split/core/debian/cron.daily 2004-04-28 09:26:40 UTC (rev 93)
+++ branches/pkg-split/core/debian/cron.daily 2004-04-29 19:08:26 UTC (rev 94)
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-if [ ! -x /usr/bin/python ]
-then
- exit 0
-fi
-
-cd /var/lib/mailman/cron 2> /dev/null
-
-# Mail reminders to admins as to pending requests.
-if [ -e /var/lib/mailman/cron/checkdbs ]
-then
- su -s /bin/sh list -c "/usr/bin/python /var/lib/mailman/cron/checkdbs"
-fi
-
-# Mail digests for lists that do periodic as well as threshhold delivery.
-if [ -e /var/lib/mailman/cron/senddigests ]
-then
- su -s /bin/sh list -c "/usr/bin/python /var/lib/mailman/cron/senddigests"
-fi
Deleted: branches/pkg-split/core/debian/cron.monthly
===================================================================
--- branches/pkg-split/core/debian/cron.monthly 2004-04-28 09:26:40 UTC (rev 93)
+++ branches/pkg-split/core/debian/cron.monthly 2004-04-29 19:08:26 UTC (rev 94)
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-if [ ! -x /usr/bin/python ]
-then
- exit 0
-fi
-
-cd /var/lib/mailman/cron 2> /dev/null
-
-# Send password reminders for all lists to all users.
-if [ -e /var/lib/mailman/cron/mailpasswds ]
-then
- su -s /bin/sh list -c "/usr/bin/python /var/lib/mailman/cron/mailpasswds"
-fi
Added: branches/pkg-split/core/debian/mailman.cron.d
===================================================================
--- branches/pkg-split/core/debian/mailman.cron.d 2004-04-28 09:26:40 UTC (rev 93)
+++ branches/pkg-split/core/debian/mailman.cron.d 2004-04-29 19:08:26 UTC (rev 94)
@@ -0,0 +1,27 @@
+# $URL$
+# $Id$
+#
+# At 8AM every day, mail reminders to admins as to pending requests.
+# They are less likely to ignore these reminders if they're mailed
+# early in the morning, but of course, this is local time... ;)
+0 8 * * * list /usr/lib/mailman/cron/checkdbs
+#
+# At 9AM, send notifications to disabled members that are due to be
+# reminded to re-enable their accounts.
+0 9 * * * list /usr/lib/mailman/cron/disabled
+#
+# Noon, mail digests for lists that do periodic as well as threshhold delivery.
+0 12 * * * list /usr/lib/mailman/cron/senddigests
+#
+# 5 AM on the first of each month, mail out password reminders.
+0 5 1 * * list /usr/lib/mailman/cron/mailpasswds
+#
+# Every 5 mins, try to gate news to mail. You can comment this one out
+# if you don't want to allow gating, or don't have any going on right now,
+# or want to exclusively use a callback strategy instead of polling.
+# 0,5,10,15,20,25,30,35,40,45,50,55 * * * * list /usr/lib/mailman/cron/gate_news
+#
+# At 3:27am every night, regenerate the gzip'd archive file. Only
+# turn this on if the internal archiver is used and
+# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
+27 3 * * * list /usr/lib/mailman/cron/nightly_gzip
Property changes on: branches/pkg-split/core/debian/mailman.cron.d
___________________________________________________________________
Name: svn:keywords
+ Id URL
Modified: branches/pkg-split/core/debian/rules
===================================================================
--- branches/pkg-split/core/debian/rules 2004-04-28 09:26:40 UTC (rev 93)
+++ branches/pkg-split/core/debian/rules 2004-04-29 19:08:26 UTC (rev 94)
@@ -80,6 +80,7 @@
dh_installchangelogs --indep
dh_install --indep
dh_installman --indep
+ dh_installcron --indep
dh_installlogrotate --indep
dh_fixperms --indep