NAME
is_daytime - Exit status of true if it is currently daytime
SYNOPSIS
is_daytime [-v] [-f FILE]
is_daytime && echo 'It is Daytime!'
OPTIONS
-v
verbose
-f FILE - default /etc/local.coordinates
Specify alternate configuration file
DESCRIPTION
Uses the system coordinates as configured from the perl package Geo::Local::Server and with the perl package DateTime::Event::Sunrise calculates the next sunset and sunrise to determine if it is currently daytime or nighttime
EXIT STATUS
The exit status is 0 if it is daytime. The exit status is 1 if it is nighttime.