Here's my crontab. 0 22 * * *
happens to be 3pm local time for goldenhourSEA,
which is early enough that the earliest sunset of the year will be ~1 hour after start.
I redirect stdout and stderr to error.log
, but I haven't really needed to check that recently, so I
don't know how useful that actually is.
$ crontab -l | grep golden-hour
0 22 * * * cd /home/pi/Projects/golden-hour; bash ./run.sh >> error.log 2>&1