[DEPRECATED] A dead man's switch server implementation in Rails. (We @harrystech have moved to a full-featured "job monitoring as a service" vendors and have retired Cronut.)
24
stars
6
forks
source link
Allow other time zone with `CRONUT_BASE_TIME_ZONE` #3
For groups whose offices are not in EST, this change allows for the
specification of an alternate time zone to use for scheduling through an
environment variable, CRONUT_BASE_TIME_ZONE.
Other changes:
Using strftime's %Z parameter to abbreviate time zones. This does result
in the standard times being EDT instead of EST, but does allow for
interface and alert output to use preferred time over a hard-wired zone.
For groups whose offices are not in EST, this change allows for the specification of an alternate time zone to use for scheduling through an environment variable,
CRONUT_BASE_TIME_ZONE
.Other changes:
strftime
's%Z
parameter to abbreviate time zones. This does result in the standard times beingEDT
instead ofEST
, but does allow for interface and alert output to use preferred time over a hard-wired zone.