Changed Weather script to work with database

Added timestamp to table online to update whenever a new row is inserted