Use a cronjob (or your DE/OS's equivalent).
For this reason, I actually used a patched version of Redshift back when I was on a Linux desktop. Now I'm on a Mac. I used to run f.lux, until Night Shift came out with the superior scheduling options.
I do believe in the "amount of blue-green light" argument from the f.lux guys, and would like to see a way to configure macOS to almost completely eliminate blue light, like f.lux does. If f.lux were to introduce a simple schedule option a'la Night Shift, I might switch back.
Personally I wont stop using f.lux, what I really like is that I can set custom colours and get a more orange screen even during daytime. I really like the softer colours, even when the sun is up.