A script to schedule on and off control of outdoor lights based on sunrise / sunset. Using https://github.com/scruss/ihsctrl to control a Zigbee switch from via IKEA trådfri gateway. This script is typically sheduled to run as a chron job at midnight. For eaxmple on my ASUS router:
cru a astroswitch "0 0 * * *" ./astroswitch.sh