corriendo y con "automatismo". Api levantada

This commit is contained in:
Your Name
2025-02-11 16:29:05 +01:00
parent 5a0833f3cf
commit 325276253b
8 changed files with 43 additions and 48 deletions

11
app/auto.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# auto.sh - Script que ejecuta el scrapper cada 24 horas con un bucle infinito
while true
do
# Ejecutar el script Python
python /app/webscrapper.py
# Dormir por 24 horas (86400 segundos)
sleep 86400
done