summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremma peel <emmapeel@aktivix.org>2018-06-19 08:35:49 +0000
committeremma peel <emmapeel@aktivix.org>2018-06-19 08:35:49 +0000
commit755fa48e9b978569c4bc215b144647e7515cfc45 (patch)
tree137c5ce55c52c8404cc44cbfa9571e683908f299
parent7629e4f46d42df02f90f28107524542098370482 (diff)
reducing frequency of cronjobs because the server is overloadedless_cronjobs
-rw-r--r--manifests/weblate.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/weblate.pp b/manifests/weblate.pp
index 419822a..aa23c73 100644
--- a/manifests/weblate.pp
+++ b/manifests/weblate.pp
@@ -207,31 +207,31 @@ class tails::weblate (
cron { 'weblate updategit':
command => "cd ${code_git_checkout}; ./manage.py updategit",
user => weblate,
- minute => '*/5',
+ hour => '*/2',
}
cron { 'weblate updateindex':
command => "cd ${code_git_checkout}; ./manage.py update_index",
user => weblate,
- minute => '*/5',
+ hour => 5,
}
cron { 'weblate updatechecks':
command => "cd ${code_git_checkout}; ./manage.py updatechecks --all",
user => weblate,
- minute => '*/6',
+ hour => 6,
}
cron { 'weblate loadpo':
command => "cd ${code_git_checkout}; ./manage.py loadpo --all",
user => weblate,
- minute => '*/5',
+ minute => '*/9',
}
cron { 'weblate commitpending':
command => "cd ${code_git_checkout}; ./manage.py commit_pending --all --age=96 --verbosity=0",
user => weblate,
- minute => 3,
+ hour => 3,
}
cron { 'weblate cleanup':