SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 39eced22 authored by SciPost Tech Support's avatar SciPost Tech Support
Browse files

Make prod cronjobs more robust

parent 883909b1
No related branches found
No related tags found
No related merge requests found
......@@ -5,4 +5,4 @@
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
python manage.py organization_update_cf_nr_associated_publications
python manage.py organization_update_cf_nr_associated_publications --settings=SciPost_v1.settings.production
......@@ -6,8 +6,8 @@ cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
# Do tasks
python manage.py check_celery
python manage.py update_coi_via_arxiv
python manage.py check_celery --settings=SciPost_v1.settings.production
python manage.py update_coi_via_arxiv --settings=SciPost_v1.settings.production
# Do a update_index of the last hour
python manage.py update_index -r -v 0 -a 1
python manage.py update_index -r -v 0 -a 1 --settings=SciPost_v1.settings.production
......@@ -6,4 +6,4 @@ cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
# Mails waiting in the database
python manage.py send_mails
python manage.py send_mails --settings=SciPost_v1.settings.production
......@@ -6,7 +6,7 @@
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
python manage.py update_citedby
python manage.py update_citedby --settings=SciPost_v1.settings.production
# Do a full update_index when maybe something has slipped through during the week
python manage.py update_index -r -v 0
python manage.py update_index -r -v 0 --settings=SciPost_v1.settings.production
......@@ -5,4 +5,4 @@
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
python manage.py send_refereeing_reminders
python manage.py send_refereeing_reminders --settings=SciPost_v1.settings.production
......@@ -5,4 +5,4 @@
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
python manage.py email_fellows_tasklist
python manage.py email_fellows_tasklist --settings=SciPost_v1.settings.production
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