Added regenerateInterationTime() when bad next interation detected in a cronjob