#!/bin/bash

while true; do
    current_time=$(date +"%Y-%m-%dT%H:%M:%S")
    photo_name="$current_time.png"
    wget -q "https://www.hko.gov.hk/wxinfo/currwx/nwp_2528.png" -O "$photo_name"
    echo "Downloaded photo at $current_time"
    sleep 3600
done
