diff --git a/deployment/dreamhost/cronjobs/auto_publish.sh b/deployment/dreamhost/cronjobs/auto_publish.sh index 47b15c5..ff0e0e2 100755 --- a/deployment/dreamhost/cronjobs/auto_publish.sh +++ b/deployment/dreamhost/cronjobs/auto_publish.sh @@ -1,5 +1,5 @@ #!/bin/bash -source $HOME/cppquiz.org/venv/bin/activate || exit $? -python $HOME/cppquiz.org/cppquiz/manage.py auto_publish || exit $? +source $HOME/sites/cppquiz.org/venv/bin/activate || exit $? +python $HOME/sites/cppquiz.org/cppquiz/manage.py auto_publish || exit $? diff --git a/deployment/dreamhost/cronjobs/dump_published.sh b/deployment/dreamhost/cronjobs/dump_published.sh index a84de80..4650475 100755 --- a/deployment/dreamhost/cronjobs/dump_published.sh +++ b/deployment/dreamhost/cronjobs/dump_published.sh @@ -1,5 +1,5 @@ #!/bin/bash -source $HOME/cppquiz.org/venv/bin/activate || exit $? -python $HOME/cppquiz.org/cppquiz/manage.py dump_published_questions > $HOME/cppquiz.org/public/static/published.json || exit $? +source $HOME/sites/cppquiz.org/venv/bin/activate || exit $? +python $HOME/sites/cppquiz.org/cppquiz/manage.py dump_published_questions > $HOME/static.cppquiz.org/published.json || exit $?