CALLISTO-SUNSCHEDULE(1)
β¨ CALLISTO-SUNSCHEDULE β¨
okay bestie, gather round, because this little helper is about to filter your e-Callisto schedule like it's curating a playlist π
the manual name is callisto-sunschedule and it lives in section 1 of the General Commands Manual, iykyk.
πΈ NAME πΈ
callisto-sunschedule β filter an e-Callisto schedule file π¦
π SYNOPSIS π
callisto-sunschedule configfile [ margin ]
π DESCRIPTION π
So here's the vibe: this helper program filters a base callisto(1) schedule that it reads from standard input, and the whole point is making it so callisto is only recording when the Sun is up βοΈ like, no cap, we're not out here recording the void. The filtered schedule gets printed to standard output. The first argument to the program is the callisto configuration file, and from that file it reads the geographical coordinates and the focuscode. πΊοΈ
If there's a second argument, that's your margin β the number of seconds that the day gets extended from both ends π«Ά. Now listen, important lore: the sunrise and sunset times that actually get computed are the ones for the UTC date in question, not the next ones. That's gonna cause a small error, especially when the daylength is changing fast π, and that's literally what the margin argument is for β compensating for it. Five or ten minutes (300 or 600 seconds) should be a good value for this. π
Only schedule entries with the same focuscode as in the configuration file are ever printed, periodt. The filtering inserts a start action at sunrise, if the base schedule indicates that recording should be on at that time, and a stop action at sunset. π Base schedule entries in the sunrise-to-sunset timespan are all printed. Only entries with the overview action are printed in the sunset-to-sunrise timespan. π
The sunrise and sunset times are computed with the Emacs calendar, so Emacs needs to be installed to use this program β yes, fr fr, that's the deal π§. See the comments at the start of the script for the rationale.
π heads up bestie: no Emacs, no sun calculations. that's the whole plot twist.
π AUTHOR π
Juha Aatrokoski <jha@kurp.hut.fi> β iconic, we stan π
π¦ SEE ALSO π¦
and that's the whole page, babe! this one's from the callisto source, dated March 2011, so it's giving vintage but make it solar π thanks for reading, mwah πβ¨
π¦ where this page comes from
- debian bookworm: callisto 1.1.0-2+b2 Β· GPL-3.0-or-later
- debian trixie: callisto 1.1.0-3 Β· GPL-3.0-or-later
- ubuntu jammy: callisto 1.1.0-2build1 Β· GPL-3.0-or-later
- ubuntu noble: callisto 1.1.0-2build4 Β· GPL-3.0-or-later
- ubuntu questing: callisto 1.1.0-3
- ubuntu resolute: callisto 1.1.0-3build1 Β· GPL-3.0-or-later
- ubuntu stonking: callisto 1.1.0-3build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms