Originally, the build auto update was done by having an email sent to a special email address, which would directly run the update script. However, the update script was being run on the mail server, which caused quite a few problems (delayed mail, as well as slow build times). After a while, I had set it up to have the mail server SSH to the real server, and execute the update script there, except SSH kept having the connection reset. So now, I believe I finally have a way to get it working. The mail server now executes 'wget --spider http://nuclearscripting.com/other/sansa/update1.php', which is a PHP script that does the SSH'ing. This seems to be working, as I noticed a few minutes ago that the time of the last update was a few hours ago. I'll be keeping an eye on it anyway to make sure it's running properly though.
While I will allow users to access the script, please do not abuse it. I'm going to try to add as many safeguards as I can to prevent problems, but if I find that I need to, I will have it limit access to only the mail server.
This entry was posted
on Sunday, August 19th, 2007 at 7:34 am and is filed under Rockbox Build.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.




Leave a Comment