Say you're building a lighting controller. You set a cron job to run at 6:00 PM, and everything works fine in October. By December, it runs too late. By June, it runs hours too early, while there's still plenty of sunlight in the room. Nothing is wrong with your code....
Using Sunrise and Sunset Data for Automated Application Scheduling
read more
