Changed script names
This commit is contained in:
parent
6a072cb4e2
commit
6c5308ed93
5 changed files with 4 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,3 +3,5 @@
|
||||||
/facebook/facebook_data.json
|
/facebook/facebook_data.json
|
||||||
/dashboard/dashboard_data.json
|
/dashboard/dashboard_data.json
|
||||||
/menu/menu_data.json
|
/menu/menu_data.json
|
||||||
|
*/log
|
||||||
|
*/err
|
|
@ -7,5 +7,5 @@ cd "$HOME"/public_html/v2/dashboard || exit
|
||||||
|
|
||||||
# Update the dashboard with the new machine list
|
# Update the dashboard with the new machine list
|
||||||
touch lock
|
touch lock
|
||||||
python3 handler.py > log 2> err
|
python3 dashboard_handler.py > log 2> err
|
||||||
rm lock
|
rm lock
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
touch lock
|
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
|
rm lock
|
||||||
|
|
Loading…
Reference in a new issue