Auto Updating

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.

Leave a Comment

Name (required)

Mail (will not be published) (required)

Website

Comment

Captcha
Enter the letters you see above.