refactored runCronUtil method to apply