From 43facbecda0ce01b2231ed892fa801d7cc8cac7e Mon Sep 17 00:00:00 2001 From: Marc-Pascal Clement Date: Sat, 4 Feb 2017 14:10:41 +0100 Subject: [PATCH] Fix path in cronjob of smallscale deployment guide (#401) --- doc/admin/installation/manual_smallscale.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/admin/installation/manual_smallscale.rst b/doc/admin/installation/manual_smallscale.rst index be72e3e71..1af92ea13 100644 --- a/doc/admin/installation/manual_smallscale.rst +++ b/doc/admin/installation/manual_smallscale.rst @@ -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``).