Build base data. This code use crontab to excute