Automatische DWD Abfrage

Crontab hinzugefügt und automatische DWD Abfrage jeden Monat eingerichtet.
This commit is contained in:
Moritz Utcke
2024-01-06 15:42:59 +07:00
parent 30cc5fab63
commit dfd7cce6c8
9 changed files with 117 additions and 46 deletions

3
.crontab Normal file
View File

@@ -0,0 +1,3 @@
# Jeden Monat müssen wir die neuen Klimafaktoren vom DWD abholen, der Cronjob läuft immer am 28. für die höchste Wahrscheinlichkeit
# dass die Daten schon da sind, falls der DWD mal später dran ist...
0 12 28 * * bun ./src/cronjobs/update-dwd-klimafaktoren.ts