summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Swee Tat <st_lim@gentoo.org>2004-06-30 02:18:20 +0000
committerLim Swee Tat <st_lim@gentoo.org>2004-06-30 02:18:20 +0000
commitb7b0b38e624ac5ee4434d573b194e0883bb54762 (patch)
tree8811495b6f3e554fc1cf57a0f9541a708f177a73 /mail-filter/dspam
parentstable on ppc64, bug #55322 (Manifest recommit) (diff)
downloadgentoo-2-b7b0b38e624ac5ee4434d573b194e0883bb54762.tar.gz
gentoo-2-b7b0b38e624ac5ee4434d573b194e0883bb54762.tar.bz2
gentoo-2-b7b0b38e624ac5ee4434d573b194e0883bb54762.zip
Fixed cron job
Diffstat (limited to 'mail-filter/dspam')
-rw-r--r--mail-filter/dspam/ChangeLog7
-rw-r--r--mail-filter/dspam/files/crontab.db43
-rw-r--r--mail-filter/dspam/files/crontab.mysql3
3 files changed, 10 insertions, 3 deletions
diff --git a/mail-filter/dspam/ChangeLog b/mail-filter/dspam/ChangeLog
index 6368f2235394..5b5ccbed2b1d 100644
--- a/mail-filter/dspam/ChangeLog
+++ b/mail-filter/dspam/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/dspam
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/ChangeLog,v 1.3 2004/06/28 03:23:41 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/ChangeLog,v 1.4 2004/06/30 02:18:20 st_lim Exp $
+
+ 30 Jun 2004; Lim Swee Tat <st_lim@gentoo.org> files/crontab.db4,
+ files/crontab.mysql:
+ Made a mistake on the cron job. Should not have timing values in
+ /etc/cron.daily
27 Jun 2004; Aron Griffis <agriffis@gentoo.org> dspam-3.0.0.ebuild:
QA - fix use invocation
diff --git a/mail-filter/dspam/files/crontab.db4 b/mail-filter/dspam/files/crontab.db4
index 34df7b1833ef..97634d1c45eb 100644
--- a/mail-filter/dspam/files/crontab.db4
+++ b/mail-filter/dspam/files/crontab.db4
@@ -1,2 +1,3 @@
-0 0 */7 * * /usr/bin/dspam_clean -s -p -u 2>&1 > /dev/null
+#!/bin/sh
+/usr/bin/dspam_clean -s -p -u 2>&1 > /dev/null
diff --git a/mail-filter/dspam/files/crontab.mysql b/mail-filter/dspam/files/crontab.mysql
index 475abdaf5651..e148bf9029cb 100644
--- a/mail-filter/dspam/files/crontab.mysql
+++ b/mail-filter/dspam/files/crontab.mysql
@@ -1,3 +1,4 @@
+#!/bin/sh
# Remove old signatures and unimportant tokens from the database
-0 0 */7 * * @confdir@/mysql_purge_db 2>&1 > /dev/null
+@confdir@/mysql_purge_db 2>&1 > /dev/null