Changed script names

This commit is contained in:
Arnaud Vergnet 2020-06-24 18:24:48 +02:00
parent 6a072cb4e2
commit 6c5308ed93
5 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View file

@ -3,3 +3,5 @@
/facebook/facebook_data.json
/dashboard/dashboard_data.json
/menu/menu_data.json
*/log
*/err

View file

@ -7,5 +7,5 @@ cd "$HOME"/public_html/v2/dashboard || exit
# Update the dashboard with the new machine list
touch lock
python3 handler.py > log 2> err
python3 dashboard_handler.py > log 2> err
rm lock

View file

@ -1,5 +1,5 @@
#!/bin/bash
touch lock
curl "https://webservices-v2.crous-mobile.fr/ws/v1/regions/5/restaurants/114/menus" > menu_data.json && python3 handler.py > log 2> err
curl "https://webservices-v2.crous-mobile.fr/ws/v1/regions/5/restaurants/114/menus" > menu_data.json && python3 menu_handler.py > log 2> err
rm lock