http://www.perlmonks.org?node_id=282547


in reply to [untitled node, ID 282543]
in thread [untitled node, ID 282518]

Schedule::Cron works very nicely for these types of things. Even if you don't want to use it looking at the implementation might give you a good starting point.