summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-12-01 10:09:23 +0100
committermh <mh@immerda.ch>2009-12-01 10:09:23 +0100
commit2f52b2752ca4406de57fbddb9af988727cb9c250 (patch)
tree85d9845fbbdda3a341e10be391bdfec872c84b05 /files
parent30ccaaadbdaa3a09c4ff2b58cc3105e068c0fe1c (diff)
adjust puppetmaster cron, it shouldn't be anymore that bad
Diffstat (limited to 'files')
-rw-r--r--files/cron.d/puppetmaster4
-rw-r--r--files/cron.d/puppetmaster.CentOS3
2 files changed, 2 insertions, 5 deletions
diff --git a/files/cron.d/puppetmaster b/files/cron.d/puppetmaster
index 676f6df..e56aa35 100644
--- a/files/cron.d/puppetmaster
+++ b/files/cron.d/puppetmaster
@@ -1,3 +1,3 @@
-# we restart puppetmaster every 4 hours to avoid memory problems
-0 */6 * * * root /etc/init.d/puppetmaster restart > /dev/null
+# we restart puppetmaster twice a day to avoid memory problems
+59 11,23 * * * root /etc/init.d/puppetmaster restart > /dev/null
diff --git a/files/cron.d/puppetmaster.CentOS b/files/cron.d/puppetmaster.CentOS
deleted file mode 100644
index f5078f4..0000000
--- a/files/cron.d/puppetmaster.CentOS
+++ /dev/null
@@ -1,3 +0,0 @@
-# we restart puppetmaster every 4 hours to avoid memory problems
-0 */4 * * * root /etc/init.d/puppetmaster restart > /dev/null
-