Just a thought, but it appears to me that we have regular questions regarding running scripts etc. requiring non-standard &/or login environments, under cron(1M) - so it would seem to me to be too good an opportunity to pass up un-exercised e.g.
Ignoring the splendid Log::Log4perl library, write a module to implement log management related functionality - typically rotation
Install it into a non-standard perl library
Write a script to provide a CLI for it [the module]
Write and test a cron entry to utilise the newly written script
A user level that continues to overstate my experience :-))