Makes sure that the cron job and update log stay in sync.