#!/bin/sh
#
# Gets sunset / sunrise tables from aa.usno.navy.mil
# http://ubuntu.online02.com/node/36
# Run with cron after midnight but before sunrise (4am) to get the times for the day
#
# N 59:23:30.16, E 24:32:11.37
Place=Harkuj4rve
LatDeg=59
LatMin=23
LonDeg=24
LonMin=32
Year=$(date +%Y)
Month=$(date +%m)
Day=$(date +%d)
Dst=$(date +%z | sed 's/+0//' | sed 's/00//')
TempFile=/tmp/suntable$Year+$Dst.htm
SunTimesFile=/tmp/suntimes$Year$Month$Day.txt
#
#