check config.useCron when check if time to rotate

forgot to add the check