set database name in the cron task