Browse Source

Add crontab example

master
Mikael Nordin 1 year ago
parent
commit
9f47d75e02
No account linked to committer's email address
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      README.md

+ 8
- 0
README.md View File

@@ -30,3 +30,11 @@ vim /opt/weather/weather.ini
30 30
 /opt/weather/getweather.py
31 31
 /opt/weather/aggregateweather.py
32 32
 ````
33
+Example crontab entry for weather user:
34
+````
35
+# m h  dom mon dow   command
36
+15 * * * * /opt/weather/getweather.py
37
+30 * * * * /opt/weather/getweather.py --station 97280
38
+45 2,14 * * * /opt/weather/aggregateweather.py
39
+45 3,15 * * * /opt/weather/aggregateweather.py --station 97280
40
+````

Loading…
Cancel
Save