From ef86a09ee8d8fc287b382cf9092af8726b44ceae Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 17 Nov 2025 16:39:48 +0100 Subject: Drop support for Santiago de Compostela, add collection script --- src/delay_collector/.env.example | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/delay_collector/.env.example (limited to 'src/delay_collector/.env.example') diff --git a/src/delay_collector/.env.example b/src/delay_collector/.env.example new file mode 100644 index 0000000..80ff054 --- /dev/null +++ b/src/delay_collector/.env.example @@ -0,0 +1,16 @@ +# Collection frequency in seconds (default: 30) +FREQUENCY_SECONDS=36 + +# PostgreSQL Database Configuration +DB_HOST=localhost +DB_PORT=5432 +DB_NAME=busurbano +DB_USER=postgres +DB_PASSWORD=your_password_here + +# Service hours (Madrid timezone) +# The collector will only run during these hours +SERVICE_START_HOUR=7 # Start at 7:00 AM +SERVICE_END_HOUR=23 # End at 11:30 PM +SERVICE_END_MINUTE=30 +SERVICE_TIMEZONE=Europe/Madrid -- cgit v1.3