application-amicale-serveur/menu/menu_update.sh

4 lines
154 B
Bash
Executable file

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