[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sunrise and Sunset from terminal




On 23/09/2023 22:51, sl91@gmx.com wrote:
Is there a way to get sunrise and sunset time from command interpreter?
I want to use its output for a script!

I use "Sunwait" from https://github.com/risacher/sunwait which is a tool you can download and compile. I believe it works entirely offline, but - given a latitude and longitude - it can calculate Civil, Nautical and Astronomical twilight times. It also has a useful ability to pause until a particular state, which might be useful in scripts.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: