ashr Posted November 29, 2015 Share Posted November 29, 2015 Just looking for some advise. I've set my server up with the usual CouchPotato/Sonarr/DLNA/etc... but I'm wanting to take it a step further and go into home automation. Is there a way I can run a script (PHP or Python) which pulls data (in this case - the weather report) from the internet, and then display it on a website or on another computer in the network? - I want to be able to run the script every 2 minutes (example), save the data received in a mySQL database (docker), and then pull it from the database onto a raspberry pi... Any help would be appreciated. Quote Link to comment
detz Posted November 29, 2015 Share Posted November 29, 2015 lookup cron jobs. Perfect fit for what you want, I have scripts running every 30 minutes to download stuff to my box. Quote Link to comment
ashr Posted November 29, 2015 Author Share Posted November 29, 2015 Thanks detz. I understand the concept of how to do it ... I'm just struggling to put all the pieces together. I've got a python script saved in a folder on my server, but is there a way of creating a run.sh cronjob without having to access the command line? Quote Link to comment
uruloke Posted November 30, 2015 Share Posted November 30, 2015 Could be a cool feature for unRaid to have an WebUI based easy cronjob adding tool Quote Link to comment
ashr Posted November 30, 2015 Author Share Posted November 30, 2015 PERFECT. Thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.