#!/bin/bash
# See https://help.github.com/articles/generating-ssh-keys/ to enable SSH to GitHub, needed for sript
python /var/www/Swind/py/getSMHI.py
git add ./data
git commit -q -m 'Latest day'
git push -q origin master

#!/bin/bash
# See https://help.github.com/articles/generating-ssh-keys/ to enable SSH to GitHub, needed for sript
date
cd /var/www/Swind
python /var/www/Swind/py/getSMHI.py
git add ./data
git commit -q -m 'Latest day'
git push -q origin master

Make script work for crontab
Make script work for crontab
