SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit ee398dc6 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

update prod cronjobs to new python version

parent 3e6ab859
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# Daily cronjobs for production area
cd /home/scipost/SciPost/scipost_django
source ../venv-3.8.5/bin/activate
source ../venv-3.11.7/bin/activate
python manage.py organization_update_cf_associated_publication_ids --settings=SciPost_v1.settings.production_do1
......
......@@ -3,7 +3,7 @@
# Per hour cronjobs for production area
cd /home/scipost/SciPost/scipost_django
source ../venv-3.8.5/bin/activate
source ../venv-3.11.7/bin/activate
# Do tasks
python manage.py check_celery --settings=SciPost_v1.settings.production_do1
......
......@@ -3,7 +3,7 @@
# Per minute cronjobs for production area
cd /home/scipost/SciPost/scipost_django
source ../venv-3.8.5/bin/activate
source ../venv-3.11.7/bin/activate
# Mails waiting in the database
python manage.py send_mails --settings=SciPost_v1.settings.production_do1
......@@ -4,7 +4,7 @@
# Weekend jobs
cd /home/scipost/SciPost/scipost_django
source ../venv-3.8.5/bin/activate
source ../venv-3.11.7/bin/activate
python manage.py update_citedby --settings=SciPost_v1.settings.production_do1
......
......@@ -3,6 +3,6 @@
# Daily cronjobs for production area
cd /home/scipost/SciPost/scipost_django
source ../venv-3.8.5/bin/activate
source ../venv-3.11.7/bin/activate
python manage.py send_refereeing_reminders --settings=SciPost_v1.settings.production_do1
......@@ -3,6 +3,6 @@
# Weekly cronjobs for production area
cd /home/scipost/SciPost/scipost_django
source ../venv-3.8.5/bin/activate
source ../venv-3.11.7/bin/activate
python manage.py email_fellows_tasklist --settings=SciPost_v1.settings.production_do1
#!/bin/bash
pkill -f bin/celery
cd /home/scipost/SciPost/scipost_django && source ../venv-3.8.5/bin/activate
cd /home/scipost/SciPost/scipost_django && source ../venv-3.11.7/bin/activate
mkdir -p /home/scipost/SciPost_logs
touch /home/scipost/SciPost_logs/celery_worker.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment