diff options
author | emma peel <emmapeel@aktivix.org> | 2018-06-14 15:22:15 +0000 |
---|---|---|
committer | emma peel <emmapeel@aktivix.org> | 2018-06-14 15:22:37 +0000 |
commit | 8058f9b340c108e17e560d46c2f9940e9a9ab824 (patch) | |
tree | b8fa7702a34fe89e61330502b19be8a76c78b6c4 | |
parent | 96c3d4ba15a9710e6350839307e551ff1a709da3 (diff) |
this is the directory where to run the scriptsbetter_dir
-rw-r--r-- | manifests/weblate.pp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/weblate.pp b/manifests/weblate.pp index b710f21..419822a 100644 --- a/manifests/weblate.pp +++ b/manifests/weblate.pp @@ -205,37 +205,37 @@ class tails::weblate ( # Cronjobs cron { 'weblate updategit': - command => "cd ${mutable_data_dir}; ./manage.py updategit", + command => "cd ${code_git_checkout}; ./manage.py updategit", user => weblate, minute => '*/5', } cron { 'weblate updateindex': - command => "cd ${mutable_data_dir}; ./manage.py update_index", + command => "cd ${code_git_checkout}; ./manage.py update_index", user => weblate, minute => '*/5', } cron { 'weblate updatechecks': - command => "cd ${mutable_data_dir}; ./manage.py updatechecks --all", + command => "cd ${code_git_checkout}; ./manage.py updatechecks --all", user => weblate, minute => '*/6', } cron { 'weblate loadpo': - command => "cd ${mutable_data_dir}; ./manage.py loadpo --all", + command => "cd ${code_git_checkout}; ./manage.py loadpo --all", user => weblate, minute => '*/5', } cron { 'weblate commitpending': - command => "cd ${mutable_data_dir}; ./manage.py commit_pending --all --age=96 --verbosity=0", + command => "cd ${code_git_checkout}; ./manage.py commit_pending --all --age=96 --verbosity=0", user => weblate, minute => 3, } cron { 'weblate cleanup': - command => "cd ${mutable_data_dir}; ./manage.py cleanuptrans", + command => "cd ${code_git_checkout}; ./manage.py cleanuptrans", user => weblate, hour => 4, } |