forked from CGM_Public/pretix_original
Fix path in cronjob of smallscale deployment guide (#401)
This commit is contained in:
committed by
Raphael Michel
parent
0dfca824e2
commit
43facbecda
@@ -190,7 +190,7 @@ Cronjob
|
|||||||
You need to set up a cronjob that runs the management command ``runperiodic``. The exact interval is not important
|
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::
|
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``).
|
The cronjob should run as the ``pretix`` user (``crontab -e -u pretix``).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user