Changed script names

このコミットが含まれているのは:
Arnaud Vergnet 2020-06-24 18:24:48 +02:00
コミット 6c5308ed93
5個のファイルの変更4行の追加2行の削除

2
.gitignore vendor済み
ファイルの表示

@ -3,3 +3,5 @@
/facebook/facebook_data.json
/dashboard/dashboard_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
touch lock
python3 handler.py > log 2> err
python3 dashboard_handler.py > log 2> err
rm lock

ファイルの表示

ファイルの表示

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