Calculation utils for cron jobs.