summaryrefslogtreecommitdiffstats
path: root/abs/core/dcron
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/dcron')
-rw-r--r--abs/core/dcron/PKGBUILD2
-rw-r--r--abs/core/dcron/__changelog8
-rw-r--r--abs/core/dcron/crond.logrotate5
-rw-r--r--abs/core/dcron/dcron.install7
4 files changed, 16 insertions, 6 deletions
diff --git a/abs/core/dcron/PKGBUILD b/abs/core/dcron/PKGBUILD
index 61999c9..0003bf7 100644
--- a/abs/core/dcron/PKGBUILD
+++ b/abs/core/dcron/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=dcron
pkgver=4.4
-pkgrel=2
+pkgrel=3
pkgdesc="dillon's lightweight cron daemon"
arch=(i686 x86_64)
license=('GPL')
diff --git a/abs/core/dcron/__changelog b/abs/core/dcron/__changelog
new file mode 100644
index 0000000..e6464b6
--- /dev/null
+++ b/abs/core/dcron/__changelog
@@ -0,0 +1,8 @@
+Added an every ten minutes dir + job
+
+ grep -q cron.tenminutes /var/spool/cron/root
+ if [ $? = 1 ]
+ then
+ echo "*/10 * * * * /usr/sbin/run-cron /etc/cron.tenminutes" >> /var/spool/cron/root
+ fi
+
diff --git a/abs/core/dcron/crond.logrotate b/abs/core/dcron/crond.logrotate
deleted file mode 100644
index 38299d6..0000000
--- a/abs/core/dcron/crond.logrotate
+++ /dev/null
@@ -1,5 +0,0 @@
-/var/log/crond {
- sharedscripts
- copytruncate
- missingok
-}
diff --git a/abs/core/dcron/dcron.install b/abs/core/dcron/dcron.install
index ba08b3a..3e4f126 100644
--- a/abs/core/dcron/dcron.install
+++ b/abs/core/dcron/dcron.install
@@ -5,6 +5,13 @@ post_upgrade() {
then
echo "Restart crond, since you're upgrading to the dcron 4.x series."
fi
+ grep -q cron.tenminutes /var/spool/cron/root
+ if [ $? = 1 ]
+ then
+ echo "0,10,20,30,40,50 * * * * /usr/sbin/run-cron /etc/cron.tenminutes" >> /var/spool/cron/root
+ fi
+
+
}
# vim:set ts=2 sw=2 et: