Changed script names

Tento commit je obsažen v:
Arnaud Vergnet 2020-06-24 18:24:48 +02:00
rodič 6a072cb4e2
revize 6c5308ed93
5 změnil soubory, kde provedl 4 přidání a 2 odebrání

2
.gitignore vendorováno
Zobrazit soubor

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

Zobrazit soubor

@ -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

Zobrazit soubor

Zobrazit soubor

@ -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