I wrote a small console program that will automatically parse https://builds.kolmafia.us/ and download the latest daily build if it doesn't exist locally. You could set this as a scheduled task, but make sure you don't hammer the server looking for updates.
The program will also create (or modify) the file KoLMafiaUpdate.log so you can review previous attempts at updating. Some sample log output:
Code:--------------- 10/28/2009 11:56:41 PM Checking https://builds.kolmafia.us/ for the latest version of KoLMafia... KoLmafia-7772.jar is the latest version Attempting to download https://builds.kolmafia.us/KoLmafia-7772.jar... Successfully downloaded https://builds.kolmafia.us/KoLmafia-7772.jar Copying KoLmafia-7772.jar to KoLmafia-latest.jar --------------- --------------- 10/29/2009 12:02:51 AM Checking https://builds.kolmafia.us/ for the latest version of KoLMafia... KoLmafia-7772.jar is the latest version KoLmafia-7772.jar exists, you have the latest version ---------------
These files are no longer available. See the attached files -- heeheehee
Version 1.8 - Fix for not being able to parse the revision number because the filename has an M at the end. Also fixed the -h typo.
Version 1.7 - Fix for the build links sorting by string instead of revision number.
Version 1.6 - Add some additional exception handling.
Version 1.5 - Only delete kolmafia jar files.
Version 1.4 - Delete old .jars after updating. Passing in -d as a command line argument will disable this functionality.
Version 1.3 - Open KoLmafia-latest.jar automatically. Passing in -o as a command line argument will disable this functionality.
Version 1.2 - Don't copy if the download fails
Version 1.1 - Automatically make a copy of the latest version as KoLmafia-latest.jar
Version 1.0 - Release