Automatically add logging to cront tasks