Fix urls bug in cron.