From 8fdd49a756f83a478d5026a2bdc71c2bf2d26d48 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Thu, 28 Sep 2017 15:14:37 +0200 Subject: [PATCH] Fix cron file --- conf/cron_weblate | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/cron_weblate b/conf/cron_weblate index 47427a2..8333026 100644 --- a/conf/cron_weblate +++ b/conf/cron_weblate @@ -1,9 +1,9 @@ # https://docs.weblate.org/en/latest/admin/install.html#production-cron # Fulltext index updates -10 * * * * root source __FINALPATH__/venv/bin/activate && DJANGO_SETTINGS_MODULE="weblate.settings" weblate update_index +10 * * * * root DJANGO_SETTINGS_MODULE="weblate.settings" __FINALPATH__/venv/bin/weblate update_index # Cleanup stale objects -@daily root source __FINALPATH__/venv/bin/activate && DJANGO_SETTINGS_MODULE="weblate.settings" weblate cleanuptrans +@daily root DJANGO_SETTINGS_MODULE="weblate.settings" __FINALPATH__/venv/bin/weblate cleanuptrans # Commit pending changes after 96 hours -@hourly root source __FINALPATH__/venv/bin/activate && DJANGO_SETTINGS_MODULE="weblate.settings" weblate commit_pending --all --age=96 --verbosity=0 +@hourly root DJANGO_SETTINGS_MODULE="weblate.settings" __FINALPATH__/venv/bin/weblate commit_pending --all --age=96 --verbosity=0