sunwait
sunwait copied to clipboard
Sunwait calculates sunrise or sunset times with civil, nautical, astronomical and custom twilights, for use with Windows Task Scheduler or 'cron' on Linux.
Hi, I browsed around through the internet about how to use sunwait with cron. I followed one of the source and make the sunwait as well as cp the made...
On CentOS 7, the compiler strips the negative sign (-77 degrees) from the define directive DEFAULT_LONGITUDE (sunwait.h), eliminating the possibility of referencing the western hemisphere by default. It probably happens...
sunriset.c Has: /* Note: Eastern longitude positive, Western longitude negative */ I changed sunwait.h to my location: //#define DEFAULT_LATITUDE 52.952308 //#define DEFAULT_LONGITUDE 359.048052 /* The Buttercross, Bingham, England */ #define...
It would be nice to have a configuration file like /etc/sunwait.conf to define your default location.
Hi! I think the idea of this program is really nice and I would like to use it to control lights outside of the house. Time for sunrise and sunset...
In a 'wait' usage, if a negative offset pushes the wait over an hour past midnight, it returns before it should (immediately). example: sun sets @ 8:30pm and run at...
Since '0s I tried to use sunwait in scripts--Korn Shell (ksh), Bourne Again Shell (bash)--but sunwait exits. I tested a command 'sunwait wait rise offset 51.4934N 0.0098E' in a shell...