1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

remove cron tasks

This commit is contained in:
Jean-Baptiste Holcroft 2019-03-31 15:59:16 +02:00
parent a153a7af9e
commit d6a20200f2

View file

@ -1,7 +1,2 @@
# https://docs.weblate.org/en/latest/admin/install.html#production-cron # https://docs.weblate.org/en/latest/admin/install.html#production-cron
# now automatically done with celery
# Cleanup stale objects
@daily __APP__ export DJANGO_SETTINGS_MODULE="weblate.settings" && cd __FINALPATH__ && venv/bin/weblate cleanuptrans
# Commit pending changes after 96 hours
@hourly __APP__ export DJANGO_SETTINGS_MODULE="weblate.settings" && cd __FINALPATH__ && venv/bin/weblate commit_pending --all --age=96 --verbosity=0