A simple weather bot
I've recently set up Prosody (an XMPP server) on my home server. I am running a trial to see if it can be used as a personal notification system that I can use to send notification on my phone. First thing I did was to write a small python script and hook it into my shutdown script which runs using a cron job every evening.
That is not working for some reason. The message is being sent, but I am not receiving it.
Next thing I wanted to try was to send myself a short weather report every morning when the server wakes up. Using @reboot
in a cron job the script to send the report is triggered. I did work after a test reboot. Time to go to bed and see if I am greeting by a weather report on my phone tomorrow morning.