Add crontab example

This commit is contained in:
Mikael Nordin 2020-05-23 18:28:53 +02:00 committed by GitHub
parent a5304c634f
commit 9f47d75e02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,3 +30,11 @@ vim /opt/weather/weather.ini
/opt/weather/getweather.py
/opt/weather/aggregateweather.py
````
Example crontab entry for weather user:
````
# m h dom mon dow command
15 * * * * /opt/weather/getweather.py
30 * * * * /opt/weather/getweather.py --station 97280
45 2,14 * * * /opt/weather/aggregateweather.py
45 3,15 * * * /opt/weather/aggregateweather.py --station 97280
````