Availability:
:- use_module(library(http/http_log)).
http_schedule_logrotate(When, 
Options)- daily(Hour:Min)
 - Run each day at Hour:Min. Min is rounded to a multitude of 5.
 - weekly(Day, Hour:Min)
 - Run at the given Day and Time each week. Day is either a number 1..7 (1 is Monday) or a weekday name or abbreviation.
 - monthly(DayOfTheMonth, Hour:Min)
 - Run each month at the given Day (1..31). Note that not all months have all days.
 
This must be used with a timer that broadcasts a
maintenance(_,_) message (see broadcast/1). 
Such a timer is part of library(http/http_unix_daemon).