December 2007 Archives

init script for vncreflector

|
Here's an init script for vncreflector I threw together.  It's a hacked up copy of the init script for vncserver.  Ideally, it would handle multiple instances of vncreflector like the vncserver init script does, but that will have to wait until I have some more time (read: until I actually need multiple instances of vncreflector running).

buildMetarDB.php & SQLite

|
Syntax to build locationsDB:

php /usr/local/lib/php/data/Services_Weather/buildMetarDB.php -v -l -t sqlite -r tcp -h localhost -d /usr/local/lib/php/data/Services_Weather/servicesWeatherDB

Syntax to build airportsDB:

php /usr/local/lib/php/data/Services_Weather/buildMetarDB.php -v -a -t sqlite -r tcp -h localhost -d /usr/local/lib/php/data/Services_Weather/servicesWeatherDB

Notes
Probably doesn't hurt to build both.