Fix path in cronjob of smallscale deployment guide (#401)

This commit is contained in:
Marc-Pascal Clement
2017-02-04 14:10:41 +01:00
committed by Raphael Michel
parent 0dfca824e2
commit 43facbecda

View File

@@ -190,7 +190,7 @@ Cronjob
You need to set up a cronjob that runs the management command ``runperiodic``. The exact interval is not important
but should be something between every minute and every hour. You could for example configure cron like this::
15,45 * * * * export PATH=/var/pretix/venv/bin:$PATH && cd /var/pretix/source/src && python -m pretix runperiodic
15,45 * * * * export PATH=/var/pretix/venv/bin:$PATH && cd /var/pretix && python -m pretix runperiodic
The cronjob should run as the ``pretix`` user (``crontab -e -u pretix``).