Create a cron job running around midnight or high noon, have that job calculate sunrise and sunset and submit them to the cron system.
Depending on your cron implementation, it may be sufficient to create a file in a specific directory containing the two times and the open and close commands. Other cron implementations may need to run a command like crontab to submit such a file.
Alexander
In reply to Re: Continuous or timed?
by afoken
in thread Continuous or timed?
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |