SciPost Code Repository

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

Update executables for production

parent 72607023
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Daily cronjobs for production area
cd /home/scipost/webapps/scipost/scipost_v1
source venv/bin/activate
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
python3 manage.py organization_update_cf_nr_associated_publications
python manage.py organization_update_cf_nr_associated_publications
......@@ -2,12 +2,12 @@
# Per minute cronjobs for production area
cd /home/scipost/webapps/scipost/scipost_v1
source venv/bin/activate
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
# Do tasks
python3 manage.py check_celery
python3 manage.py update_coi_via_arxiv
python manage.py check_celery
python manage.py update_coi_via_arxiv
# Do a update_index of the last hour
python3 manage.py update_index -r -v 0 -a 1
python manage.py update_index -r -v 0 -a 1
......@@ -2,8 +2,8 @@
# Per minute cronjobs for production area
cd /home/scipost/webapps/scipost/scipost_v1
source venv/bin/activate
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
# Mails waiting in the database
python3 manage.py send_mails
python manage.py send_mails
......@@ -3,10 +3,10 @@
# Weekly cronjobs for production area
# Weekend jobs
cd /home/scipost/webapps/scipost/scipost_v1
source venv/bin/activate
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
python3 manage.py update_citedby
python manage.py update_citedby
# Do a full update_index when maybe something has slipped through during the week somehow..?
python3 manage.py update_index -r -v 0
# Do a full update_index when maybe something has slipped through during the week
python manage.py update_index -r -v 0
......@@ -2,7 +2,7 @@
# Daily cronjobs for production area
cd /home/scipost/webapps/scipost/scipost_v1
source venv/bin/activate
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
python3 manage.py send_refereeing_reminders
python manage.py send_refereeing_reminders
......@@ -2,7 +2,7 @@
# Weekly cronjobs for production area
cd /home/scipost/webapps/scipost/scipost_v1
source venv/bin/activate
cd /home/scipost/webapps/scipost_py38/SciPost
source ../venv3.8/bin/activate
python3 manage.py email_fellows_tasklist
python manage.py email_fellows_tasklist
#!/bin/bash
pkill -f bin/celery
cd /home/scipost/webapps/scipost/scipost_v1 && source venv/bin/activate
cd /home/scipost/webapps/scipost_py38/SciPost && source ../venv3.8/bin/activate
mkdir -p ./local_files/logs
touch ./local_files/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