Michael R. Davis
and 1 contributors

NAME

sunset_time - Prints the time of the next sunset

SYNOPSIS

  sunset_time
  sunset_time [-f FILE] [-m +/-minutes]
  echo "task" | at `sunset_time`

OPTIONS

-f FILE - default /etc/local.coordinates

Specify alternate configuration file

-m Output offset in minutes

Specify a certain offset before or after the sunset

DESCRIPTION

Uses the system coordinates as configured from the perl package Geo::Local::Server and with the perl package DateTime::Event::Sunrise to calculate the next sunset.