2025-04-03days
Else we have a subtown to update

2025-04-03days
Else we dont have a priority subtown we take a new subtown

SELECT * FROM geonames_nearby ORDER BY timestamp

Smedjebacken

SELECT * FROM geonames_town WHERE address='Smedjebacken'UPDATE geonames_nearby SET timestamp='2025-04-04 17:26:25' WHERE id=411
DELETE FROM fetch_data WHERE company_id=10004 AND town_id='1' AND sub_town_id=411
If town to the left is equal to this town Smedjebacken then abort because its a duplicate in town and subtown


https://api.tickster.com/sv/api/0.4/events/upcoming?q=Smedjebacken&take=100&sort=eventstart&key=ff76215c9ed03e79
Nubmer of hits in this search = 0

No hits in this search