Fixed error in cron script

The error prevented daily automatic updates of data.