Fix venv path
This commit is contained in:
parent
71ef3b0a05
commit
5eb7bcf7b4
4 changed files with 5 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
# Update washing machines
|
||||
cd "$HOME"/public_html/v2/washinsa && ./washinsa_update.sh
|
||||
|
||||
cd "$HOME"/public_html/v2/dashboard || exit
|
||||
|
||||
source ../venv/bin/activate
|
||||
|
||||
# Update the dashboard with the new machine list
|
||||
touch lock
|
||||
python3 dashboard_handler.py > log 2> err
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
source venv/bin/activate
|
||||
source ../venv/bin/activate
|
||||
|
||||
touch lock
|
||||
python3 facebook_handler.py > log 2> err
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
source venv/bin/activate
|
||||
source ../venv/bin/activate
|
||||
|
||||
touch lock
|
||||
curl "https://webservices-v2.crous-mobile.fr/ws/v1/regions/5/restaurants/114/menus" > menu_data.json && python3 menu_handler.py > log 2> err
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
source venv/bin/activate
|
||||
source ../venv/bin/activate
|
||||
|
||||
touch lock
|
||||
python3 washinsa_handler.py > log 2> err
|
||||
|
|
Loading…
Reference in a new issue