[rt-users] Business Hours Alerts
Rick Russell
rickr at rice.edu
Thu Apr 20 19:12:48 EDT 2006
The best way is to use Jesse Vincent's Business::Hours module to set up
a business hours schedule, then use the methods (like first_after) to
quickly determine whether the current time is in the business hours
schedule.
http://search.cpan.org/~jesse/Business-Hours-0.07/lib/Business/Hours.pm
But it's also not hard to roll up your own using POSIX::localtime() and
POSIX::strftime().
Rick R.
More information about the rt-users
mailing list