Pop quiz (because I'm trying to solve this problem): How would you schedule a jo...

@BastilleBSD@fosstodon.org

Pop quiz (because I'm trying to solve this problem):

How would you schedule a job to run at sunrise? Or at sunset?

The problem, of course, being that "sunrise" and "sunset" are moving targets. Different each day by a few minutes.

How would you solve this?

#FreeBSD #Linux #cron #popquiz #programming