summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorviega1998-05-31 04:54:54 +0000
committerviega1998-05-31 04:54:54 +0000
commitaf35d4afdb81e630ea23b41b0e95ccf7e8e6fa0c (patch)
tree4523845bd691fda1ec34df85c0ec6e717d443d11
parent1a0e293a4f9dc6fa9372df4c7599d7b6c9a99053 (diff)
downloadmailman-af35d4afdb81e630ea23b41b0e95ccf7e8e6fa0c.tar.gz
mailman-af35d4afdb81e630ea23b41b0e95ccf7e8e6fa0c.tar.zst
mailman-af35d4afdb81e630ea23b41b0e95ccf7e8e6fa0c.zip
Add an entry to call gate_news every 5 minutes.
Note that site admins who have access to their NNTP server can implement a solution that doesn't poll. However, I do want to have a solution that works out of the box. Many people aren't going to care if it polls.
-rwxr-xr-xcron/crontab.in.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/cron/crontab.in.in b/cron/crontab.in.in
index 3af895188..2fed45042 100755
--- a/cron/crontab.in.in
+++ b/cron/crontab.in.in
@@ -6,3 +6,8 @@
#
# 5 AM on the first of each month, mail out password reminders.
0 5 1 * * @PYTHON@ @prefix@/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 * * * * @PYTHON@ @prefix@/cron/gate_news