Readme edit
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
**1. Voraussetzungen installieren**
|
**1. Voraussetzungen installieren**
|
||||||
|
|
||||||
|
API Key auf openweathermap.org generieren
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install requests mariadb python-dotenv
|
pip install requests mariadb python-dotenv
|
||||||
```
|
```
|
||||||
@@ -28,7 +30,7 @@ CREATE TABLE weather_data (
|
|||||||
|
|
||||||
**3. Script und .env Datei ablegen und bearbeiten**
|
**3. Script und .env Datei ablegen und bearbeiten**
|
||||||
|
|
||||||
**4. Cronjob **
|
**4. Cronjob**
|
||||||
```
|
```
|
||||||
0 * * * * /usr/bin/python3 /pfad/zum/weather_script.py
|
0 * * * * /usr/bin/python3 /pfad/zum/weather_script.py
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user