refactor cronjob and ceilometer stats format